Look at the nuxt 3 documentation to learn more.
Make sure to install the dependencies:
# npm
npm installStart the development server on http://localhost:3000
Create file .env in project's root directory.
.env example:
KEYCLOAK_URL='https://stage-auth.finmars.com'
KEYCLOAK_REALM='finmars'
KEYCLOAK_CLIENT_ID='finmars'
APP_HOST='http://localhost:3000/v'
API_HOST='https://stage.finmars.com'
AUTH_HOST='https://stage.finmars.com/authorizer'
OLD_APP_URL='http://0.0.0.0:8080/#!/'
NUXT_HOST='localhost'Run command:
npm run devBuild the application for production:
npm run buildLocally preview production build:
npm run previewCheckout the deployment documentation for more information.