Note
🚧 development in progress check setup for more information
pnpm dlx nuxi@latest init --packageManager pnpm --gitInit --shell && code . --new-window
Create local environment variables file:
cp .env.example .env.local
Make sure to install the dependencies:
pnpm install
Start the development server on https://localhost:3000
:
pnpm run dev
Check out the deployment documentation for more information.
Install nvm
and Node.js
then install global dependencies:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
[ -n "$BASH_VERSION" ] && source ~/.bashrc || [ -n "$ZSH_VERSION" ] && source ~/.zshrc
nvm install node
# Update nvm and keep dependencies
nvm install node --reinstall-packages-from=node
npm install --global @antfu/ni eslint npkill npm@latest pnpm@latest port-kill taze
After installing mkcert run the following commands and copy the certificate and key to ./tmp/
folder.
mkcert -install
mkcert localhost 127.0.0.1 ::1
Look at the Nuxt 3 documentation to learn more.