Skip to content

miracleoyl/Hurakan

Repository files navigation

frontend

this is UI part

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

# run unit tests
npm run unit

# run e2e tests
npm run e2e

# run all tests
npm test

Miracle:

  1. vue init webpack frontend 2.npm install --save axios for ajax call

to deploy frontend codes. prestep: add the followings to index.js (backend codes)

app.use(express.static(path.resolve(__dirname, '../dist')))

after that use nginx to deploy http server

1.in nginx.conf file, under http part, add: include /etc/nginx/conf.d/*.conf; m 2. add any config file end wiht .conf

About

Hurakan

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published