My swell Nuxt.js project
.env
VITE_BASE_URL=https://example.com/v1
$ yarn install
$ yarn dev
# install dependencies
$ yarn install
# serve with hot reload at localhost:3000
$ yarn dev
# generate static project
$ yarn generate
# keep clean code
$ yarn lint
# check the types
$ yarn typecheck
For detailed explanation on how things work, check out Nuxt.js docs.