-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Instead of how it is now - one main module plus several dependences.
Is that possible in principle?
Then it could be easier to jumps start usage and also could be installed as a global package to run later in potentially from any folder.
I've tried to put all of the packs in the package.json, like this
..
"dependencies": {
"vue-dev-server": "latest",
"chokidar": "^1.6.0",
"coffee-script": "^1.11.1",
"commander": "^2.9.0",
"cp": "^0.2.0",
"cpr": "^2.0.0",
"ip": "^1.1.3",
"koa": "^1.2.4",
"koa-hot-dev-webpack": "^0.1.1",
"koa-sendfile": "^2.0.0",
"koa-static": "^2.0.0",
"script-runner": "^0.1.5",
"vue-hot-reload-api": "^2.0.7",
"vue-router": "^2.0.0",
"vueify-insert-css": "latest",
"webpack": "^1.13.2",
"vue-loader": "^9.5.1",
"vue": "^2.0.1",
"css-loader": "^0.25.0",
"vue-compiler": "^2.0.0",
"vue-html-loader": "^1.2.3",
"vue-style-loader": "^1.0.0"
},
"devDependencies": {
"babel-core": "^6.21.0",
"babel-loader": "^6.2.10",
"babel-plugin-transform-runtime": "^6.15.0",
"babel-preset-es2015": "^6.18.0",
"babel-runtime": "^5.8.38",
"casperjs": "^1.1.3",
"coffee-loader": "^0.7.2",
"css-loader": "^0.25.0",
"phantomjs-prebuilt": "^2.1.13",
"rimraf": "^2.5.4",
"script-runner": "^0.1.5",
"stylus": "^0.54.5",
"vue-hot-reload-api": "^2.0.7",
"vue-html-loader": "^1.2.3",
"vue-style-loader": "^1.0.0"
},
"scripts": {
...
"postinstall": "npm install --save-dev vue-html-loader css-loader vue-style-loader vue-hot-reload-api babel-loader babel-core babel-plugin-transform-runtime babel-preset-es2015 babel-runtime@5"
}
}
and the run with smth like $ node node_modules/vue-dev-server/index.js.
But it fails with dev/myComponent.vue file parsing
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels