mart

A Vue.js project

Build Setup

# 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

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

Build Docker

npm install

npm run build

cd ..

mv mart-vue/dist/ dist/

docker build -t nee11235/crowdsourcing-frontend .

docker run -d -p 80:80 nee11235/crowdsourcing-frontend