diff options
author | Bastien Wirtz <bastien.wirtz@gmail.com> | 2020-05-30 23:22:02 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-30 23:22:02 -0700 |
commit | 5fa6b6cfa6b3010279ead23088add5c5664e8ac0 (patch) | |
tree | 5f3ffa4dc62b4355d38346ef0155878ca6aeedcd /src/main.js | |
parent | ab7ac44c191e3b7dea696e76b74097e23f73b18c (diff) | |
parent | 9052ec59b75a37b4518ad39c493ee6c2d4198b98 (diff) | |
download | homer-5fa6b6cfa6b3010279ead23088add5c5664e8ac0.tar.gz homer-5fa6b6cfa6b3010279ead23088add5c5664e8ac0.tar.zst homer-5fa6b6cfa6b3010279ead23088add5c5664e8ac0.zip |
Merge pull request #62 from bastienwirtz/dev/build-system120405250
Build system integration using vue-cli.
Diffstat (limited to 'src/main.js')
-rw-r--r-- | src/main.js | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/main.js b/src/main.js new file mode 100644 index 0000000..e5995a4 --- /dev/null +++ b/src/main.js | |||
@@ -0,0 +1,19 @@ | |||
1 | import Vue from "vue"; | ||
2 | import App from "./App.vue"; | ||
3 | import "./registerServiceWorker"; | ||
4 | |||
5 | import "@fortawesome/fontawesome-free/css/all.css"; | ||
6 | |||
7 | import "./assets/app.scss"; | ||
8 | |||
9 | Vue.config.productionTip = false; | ||
10 | |||
11 | Vue.component("DynamicStyle", { | ||
12 | render: function (createElement) { | ||
13 | return createElement("style", this.$slots.default); | ||
14 | }, | ||
15 | }); | ||
16 | |||
17 | new Vue({ | ||
18 | render: (h) => h(App), | ||
19 | }).$mount("#app"); | ||