Trying this on my mac

webpack_update
androiddrew 7 years ago
parent 2676c2679c
commit 316d3b3f8e

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

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

@ -6,10 +6,10 @@ const app = new Vue({
router, router,
// render is a Vuejs function that will return an elements // render is a Vuejs function that will return an elements
// This is equivalent to template: '<app></app>' // 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 // Because fucktards in javascript want to make everything fucking insane
// we are going to use the "spread" // 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 } export { app, router }

Loading…
Cancel
Save