radholm / scampea-frontend

HTML/JS/Vue/CSS frontend of a web-development project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

scampea-frontend

Prerequisite

Nodejs

Optional but recommended

Yarn

Build Setup

With npm

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

# run unit tests
npm run unit

# run e2e tests
npm run e2e

# run all tests
npm test

With yarn (recommended)

# install dependencies
yarn install

# serve with hot reload at localhost:8080
yarn dev

# build for production with minification
yarn build

# build for production and view the bundle analyzer report
yarn build --report

# run unit tests
yarn unit

# run e2e tests
yarn e2e

# run all tests
yarn test

Setup login

  1. Create a password grant client on the backend
  2. Copy the client secret and client id
  3. Paste the client secret and id in config/prod.env.js in the OAUTH_CONFIG object

For detailed explanation on how things work, checkout the guide and docs for vue-loader.

About

HTML/JS/Vue/CSS frontend of a web-development project


Languages

Language:HTML 54.9%Language:JavaScript 28.4%Language:Vue 15.2%Language:CSS 1.5%