Look at the Nuxt 3 documentation to learn more.
Make sure to install the dependencies:
Node version used - v18.20.8
Dev environment should be: https://localhost:3000 or change it in useBaseApi.ts file.
# npm
npm install
# pnpm
pnpm install
# yarn
yarn installStart the development server on http://localhost:3000:
# npm
npm run dev
# pnpm
pnpm run dev
# yarn
yarn devBuild the application for production:
# npm
npm run build
# pnpm
pnpm run build
# yarn
yarn buildLocally preview production build:
# npm
npm run preview
# pnpm
pnpm run preview
# yarn
yarn previewCheck out the deployment documentation for more information.
Add these to .env file
# A root endpoint to the API backend server
API_BASE_URL = ""
LOCAL_API_BASE_URL="" # BE staging endpooint
REST_API_USER=""
REST_API_USER_PASS=""Incremented 5 time(s)