aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main.js
diff options
context:
space:
mode:
authorBastien Wirtz <bastien.wirtz@gmail.com>2020-05-25 15:07:03 -0700
committerBastien Wirtz <bastien.wirtz@gmail.com>2020-05-25 15:07:03 -0700
commitb9c5fcf085bed9c6100283133531b36bfbb06cf0 (patch)
tree7baa4d16c9d6c06745727c7c273065a29b8fc1d7 /src/main.js
parentab7ac44c191e3b7dea696e76b74097e23f73b18c (diff)
downloadhomer-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.js20
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 @@
1import Vue from "vue";
2import App from "./App.vue";
3import "./registerServiceWorker";
4
5import "@fortawesome/fontawesome-free/css/all.css";
6import "@fortawesome/fontawesome-free/js/all.js";
7
8import "./assets/app.scss";
9
10Vue.config.productionTip = false;
11
12Vue.component("DynamicStyle", {
13 render: function (createElement) {
14 return createElement("style", this.$slots.default);
15 },
16});
17
18new Vue({
19 render: (h) => h(App),
20}).$mount("#app");