Trying this on my mac

webpack_update
androiddrew 7 years ago
parent 2676c2679c
commit 316d3b3f8e

@ -1,14 +1,8 @@
{
"presets": [
[
"es2015",
{
"modules": false
}
],
"stage-2"
],
"ignore": [
"node_modules/*"
"presets": ["env"],
"plugins": [
"transform-es2015-destructuring",
"transform-es2015-parameters",
"transform-object-rest-spread"
]
}

@ -10,34 +10,38 @@
"author": "Drew Bednar",
"license": "MIT",
"dependencies": {
"axios": "^0.17.1",
"bulma": "^0.6.1",
"express": "^4.16.2",
"vue": "^2.5.6",
"axios": "^0.18.0",
"bulma": "^0.6.2",
"express": "^4.16.3",
"vue": "^2.5.16",
"vue-router": "^3.0.1"
},
"devDependencies": {
"babel-core": "^6.26.0",
"babel-eslint": "^7.2.3",
"babel-loader": "^7.1.2",
"babel-preset-es2015": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"css-loader": "^0.28.7",
"eslint": "^4.5.0",
"eslint-config-standard": "^10.2.1",
"eslint-loader": "^1.9.0",
"eslint-plugin-html": "^3.2.0",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-node": "^5.1.1",
"eslint-plugin-promise": "^3.5.0",
"babel-eslint": "^8.2.2",
"babel-loader": "^7.1.4",
"babel-plugin-transform-es2015-destructuring": "^6.23.0",
"babel-plugin-transform-es2015-parameters": "^6.24.1",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babel-preset-stage-3": "^6.24.1",
"css-loader": "^0.28.11",
"eslint": "^4.19.1",
"eslint-config-standard": "^11.0.0",
"eslint-loader": "^2.0.0",
"eslint-plugin-html": "^4.0.2",
"eslint-plugin-import": "^2.9.0",
"eslint-plugin-node": "^6.0.1",
"eslint-plugin-promise": "^3.7.0",
"eslint-plugin-standard": "^3.0.1",
"extract-text-webpack-plugin": "^3.0.2",
"node-sass": "^4.7.1",
"sass-loader": "^6.0.6",
"vue-loader": "^13.5.0",
"vue-template-compiler": "^2.5.6",
"webpack": "^3.8.1",
"webpack-dev-middleware": "^1.12.0",
"webpack-hot-middleware": "^2.20.0"
"extract-text-webpack-plugin": "^4.0.0-beta.0",
"node-sass": "^4.8.3",
"sass-loader": "^6.0.7",
"vue-loader": "^14.2.2",
"vue-template-compiler": "^2.5.16",
"webpack": "^4.3.0",
"webpack-cli": "^2.0.13",
"webpack-dev-middleware": "^3.1.0",
"webpack-hot-middleware": "^2.21.2"
}
}

@ -6,10 +6,10 @@ const app = new Vue({
router,
// render is a Vuejs function that will return an elements
// This is equivalent to template: '<app></app>'
render: h => h(AppLayout)
// render: h => h(AppLayout)
// Because fucktards in javascript want to make everything fucking insane
// we are going to use the "spread"
// ...AppLayout //this part didn't work. I don't know why but
...AppLayout // this part didn't work. I don't know why but
})
export { app, router }

Loading…
Cancel
Save