# vue_demo_cnodejs > A Vue.js project ## Build Setup ``` bash # 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](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader). # error * ./cptable in ./node_modules/xlsx-style/dist/cpexcel.js ## ./node_modules/xlsx-style/dist/cpexcel.js 找到 var cpt = require('./cpt' + 'able'); 替换为 var cpt = cptable;