Skip to content

coretrix/dev-frontend

Repository files navigation

dev-frontend

Build Setup

# install dependencies
$ yarn install

# serve with hot reload at localhost:9000
$ yarn dev

# build for production and launch server
$ yarn build
$ yarn start

# generate static project
$ yarn generate

For detailed explanation on how things work, check out Nuxt.js docs.

Env variables

# Current env variable. String - "development" || "production"
$ NODE_ENV

# API url. String - Example: https://api.mydomain.com/
$ NUXT_API_BASE_URL

# Show/hide advanced redis stats - Boolean
$ SHOW_REDIS_SEARCH

# Sets project name. String - Example: Accrete
$ PROJECT_NAME