vueconf-2017-demo icon indicating copy to clipboard operation
vueconf-2017-demo copied to clipboard

Broken build, vue-cli removed build command in 2.9

Open NZX-DeSiGN opened this issue 7 years ago • 1 comments
trafficstars

Hi,

I'm starting learning Apollo and it's integration in VueJS, thanks for your work ! There's a small problem to build the project : the recent vue-cli 2.9 version removed the build command and advice to use Poi (https://github.com/egoist/poi)

A temporary fix is to install vue-cli 2.8.2 in project dev dependencies :

npm install -D [email protected]

And use project vue-cli in package.json scripts :

"scripts": {
    "dev": "./node_modules/.bin/vue build src/index.js --config config.js",
    "build": "./node_modules/.bin/vue build src/index.js --config config.js --prod"
  }

NZX-DeSiGN avatar Nov 30 '17 16:11 NZX-DeSiGN

I'll migrate this repo to the webpack-simple vue-cli template when I have time. 😉

Akryum avatar Nov 30 '17 16:11 Akryum