Using Vue components in Total.js' views
- Total.js 3.x.x
- Vue.js 2.x.x
- Clone this repository
git clone https://github.com/flashvnn/total-vue.git
- Install totaljs globally because the build.js will be minified using Total.js minify command
npm install -g total.js
- Install dependencies
npm install
# or
yarn
- For development mode
# Complie Vue components
npm run client:dev
# Run Total.js in development mode
node debug.js
- For production mode
# Complie Vue components
npm run client:prod
# Run Total.js in production mode
node release.js