This is a Next.js project bootstrapped with create-next-app
.
First, run :
npm install
Second, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx
. The page auto-updates as you edit the file.
This project uses next/font
to automatically optimize and load Inter, a custom Google Font.
To bundle the PaymentManager.tsx component in simplified JS that can be read by the browser, we are defining the entrypoint in entry.ts file. The entry.ts file exports the Payment Manager as default component.
Assuming you are done installing the dependencies of payment-manager app,
run the following command :
npx webpack
This will directly use the webpack package and will bundle the component as per the entry point defined in the webpack configuration