-
main: Contains the FlyonUI Starter Kit integrated with Next.js, providing a foundational setup to begin your project.
-
components: Showcases the implementation and usage of various FlyonUI components within a Next.js environment.
Install the dependencies:
$ npm install # or pnpm install or yarn install
Run the app in development mode:
$ npm run dev # or npm start if you want to test build
Open http://localhost:3000 to view it in the browser.
The preview command will create a production build of the client modules, a production build of src/entry.preview.tsx
, and run a local server. The preview server is only for convenience to preview a production build locally and should not be used as a production server.
npm run preview
The production build will generate client and server modules by running both client and server build commands. The build command will use Typescript to run a type check on the source code.
npm run build