diff --git a/build/webpack.base.config.js b/build/webpack.base.config.js index 253e9bd..a5bed32 100644 --- a/build/webpack.base.config.js +++ b/build/webpack.base.config.js @@ -32,7 +32,11 @@ }, { test: /\.vue$/, - loader: 'vue-loader' + loader: 'vue-loader', + options: { + css: 'css-loader', + 'scss': 'css-loader|sass-loader' + } }, { test: /\.js$/, // This rule applies after the .vue files are transpiled to .js files through the vue loader diff --git a/package.json b/package.json index e209be1..5d85b1d 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ "author": "Drew Bednar", "license": "MIT", "dependencies": { + "bulma": "^0.6.1", "express": "^4.16.2", "vue": "^2.5.6" }, @@ -19,6 +20,7 @@ "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", @@ -27,6 +29,8 @@ "eslint-plugin-node": "^5.1.1", "eslint-plugin-promise": "^3.5.0", "eslint-plugin-standard": "^3.0.1", + "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", diff --git a/src/app.js b/src/app.js index 2b039c2..5ba6038 100644 --- a/src/app.js +++ b/src/app.js @@ -5,6 +5,9 @@ const app = new Vue({ // render is a Vuejs function that will return an elements // This is equivalent to template: '' render: h => h(AppLayout) + // Because fucktards in javascript want to make everything fucking insane + // we are going to use the "spread" + // ...AppLayout }) export { app } diff --git a/src/theme/AppFooter.vue b/src/theme/AppFooter.vue new file mode 100644 index 0000000..a6cc9c2 --- /dev/null +++ b/src/theme/AppFooter.vue @@ -0,0 +1,10 @@ + diff --git a/src/theme/AppHeader.vue b/src/theme/AppHeader.vue new file mode 100644 index 0000000..c3ddc36 --- /dev/null +++ b/src/theme/AppHeader.vue @@ -0,0 +1,10 @@ + diff --git a/src/theme/Category.vue b/src/theme/Category.vue new file mode 100644 index 0000000..e7e1711 --- /dev/null +++ b/src/theme/Category.vue @@ -0,0 +1,31 @@ + + diff --git a/src/theme/Layout.vue b/src/theme/Layout.vue index 3bae9ed..422b3f7 100644 --- a/src/theme/Layout.vue +++ b/src/theme/Layout.vue @@ -1,23 +1,32 @@ +