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