33 lines
867 B
JavaScript
33 lines
867 B
JavaScript
import Vue from "vue";
|
|
import App from "./App.vue";
|
|
import "./registerServiceWorker";
|
|
import "./assets/tailwind.css";
|
|
|
|
import { library } from "@fortawesome/fontawesome-svg-core";
|
|
import {
|
|
faHeart,
|
|
faEye,
|
|
faCommentAlt,
|
|
faTags
|
|
} from "@fortawesome/free-solid-svg-icons";
|
|
import { FontAwesomeIcon } from "@fortawesome/vue-fontawesome";
|
|
|
|
import "leaflet/dist/leaflet.css";
|
|
import { Icon } from "leaflet";
|
|
|
|
delete Icon.Default.prototype._getIconUrl;
|
|
Icon.Default.mergeOptions({
|
|
iconRetinaUrl: require("leaflet/dist/images/marker-icon-2x.png"),
|
|
iconUrl: require("leaflet/dist/images/marker-icon.png"),
|
|
shadowUrl: require("leaflet/dist/images/marker-shadow.png")
|
|
});
|
|
|
|
library.add(faHeart, faEye, faCommentAlt, faTags);
|
|
Vue.component("font-awesome-icon", FontAwesomeIcon);
|
|
|
|
Vue.config.productionTip = false;
|
|
|
|
new Vue({
|
|
render: h => h(App)
|
|
}).$mount("#app");
|