/total-vue

Total Js with Vue Js

Primary LanguageJavaScriptMIT LicenseMIT

Total.js + Vue.js with Livereload

Using Vue components in Total.js' views

Dependencies

  • Total.js 3.x.x
  • Vue.js 2.x.x

Installation

  1. Clone this repository
git clone https://github.com/flashvnn/total-vue.git
  1. Install totaljs globally because the build.js will be minified using Total.js minify command
npm install -g total.js
  1. Install dependencies
npm install
# or
yarn

How to use

  1. For development mode
# Complie Vue components
npm run client:dev

# Run Total.js in development mode
node debug.js
  1. For production mode
# Complie Vue components
npm run client:prod

# Run Total.js in production mode
node release.js