update webstack

This commit is contained in:
2021-02-08 17:06:59 +02:00
parent b78623ec1c
commit 098fa4e260
313 changed files with 6370 additions and 915 deletions

View File

@@ -1,4 +1,6 @@
import DefaultLayout from '~/layouts/Default.vue'
// This is the main.js file. Import global CSS and scripts here.
// The Client API can be used here. Learn more: gridsome.org/docs/client-api
import DefaultLayout from '~/layouts/Default.vue';
import VTooltip from 'v-tooltip'
import '~/assets/scss/main.scss';
@@ -9,23 +11,19 @@ import { fas } from '@fortawesome/free-solid-svg-icons';
import { fab } from '@fortawesome/free-brands-svg-icons'
import '@fortawesome/fontawesome-svg-core/styles.css';
import VacationCard from "~/components/VacationCard.vue";
require("gridsome-plugin-remark-prismjs-all/themes/night-owl.css");
require("prismjs/themes/prism-solarizedlight.css");
config.autoAddCss = false;
library.add(fas);
library.add(fab);
export default function (Vue, {router, head, isClient}) {
Vue.component('Layout', DefaultLayout)
Vue.component('VacationCard', VacationCard)
Vue.component('font-awesome', FontAwesomeIcon)
Vue.use(VTooltip, {
defaultPlacement: 'top-end',
defaultClass: 'bg-black text-xs px-2 leading-normal py-1 rounded absolute text-gray-400 max-w-xs mb-1'
})
var VueMarkdown = require('vue-markdown');
Vue.use(VueMarkdown);
export default function(Vue, { router, head, isClient }) {
// Set default layout as a global component
Vue.component('Layout', DefaultLayout)
Vue.component('font-awesome', FontAwesomeIcon)
Vue.use(VTooltip, {
defaultPlacement: 'top-end',
defaultClass: 'bg-black text-xs px-2 leading-normal py-1 rounded absolute text-gray-400 max-w-xs mb-1'
})
}