/ftl-vue-webpack

vue.js & webpack & freemarker for webapp

Primary LanguageJavaScriptMIT LicenseMIT

ftl-vue-webpack

A Vue.js multi-page && spa project which can support transform ftl and support mock-refresh automatically.

if you want use simple pure html, look here

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost which is no self-mock
npm run dev

# if you want to mock yourself,please fire follow after 'dev'
npm run dev-mock

# if you want to mock ftl,please fire follow after 'dev'
npm run ftl-mock

# build for production with minification
npm run build

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

finally,you can see package.json,and decide what you want.

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