Look at the Nuxt 3 documentation to learn more.
You can use the devbox bundler for the bun-bundler.
- Install Devbox
- Run
devbox run dev
to start the server listening at http://localhost:3000
This also installs pre-commit
, so you can use the following to commit your code:
devbox run git commit -am "your messge"
This will run the pre-commit
hooks defined by husky.
If prettier
complains that one or more of your files don't follow its formatting, you
can update all the files like this:
devbox run prettier
Make sure to install the dependencies:
# bun
bun install
Start the development server on http://localhost:3000:
# bun
bun run dev
If you do any changes to any of the schemas, make sure to run this command
bunx json2ts utils/schemas -o ./types
Build the application for production:
# bun
bun run build
Locally preview production build:
# bun
bun run preview
Check out the deployment documentation for more information.