You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
76 lines
2.8 KiB
JavaScript
76 lines
2.8 KiB
JavaScript
import Vue from 'vue'
|
|
import App from './App.vue'
|
|
|
|
import BootstrapVue from 'bootstrap-vue'
|
|
import 'bootstrap/dist/css/bootstrap.css'
|
|
import 'bootstrap-vue/dist/bootstrap-vue.css'
|
|
|
|
import { library } from '@fortawesome/fontawesome-svg-core'
|
|
import { faCarBattery, faSeedling, faStroopwafel, faBrain, faStopwatch, faChartLine, faCode, faUserCheck, faSearchDollar, faStar, faStarHalfAlt } from '@fortawesome/free-solid-svg-icons'
|
|
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
|
|
|
|
import { VBPopover } from 'bootstrap-vue/es/directives'
|
|
|
|
import { BLink } from 'bootstrap-vue'
|
|
Vue.component('b-link', BLink)
|
|
|
|
import VueRouter from 'vue-router'
|
|
// Note: Vue automatically prefixes the directive name with 'v-'
|
|
Vue.directive('b-popover', VBPopover)
|
|
|
|
library.add(faCarBattery, faSeedling, faStroopwafel, faStar, faStarHalfAlt, faBrain, faStopwatch, faChartLine, faCode, faUserCheck, faSearchDollar)
|
|
|
|
Vue.component('font-awesome-icon', FontAwesomeIcon)
|
|
|
|
import SplashPage from './components/SplashPage'
|
|
import TimeCard from './components/TimeCard'
|
|
import ReviewPage from './components/ReviewPage'
|
|
import AboutPage from './components/AboutPage'
|
|
import GlossaryPage from './components/GlossaryPage'
|
|
import FullTextPage from './components/FullTextPage'
|
|
import VideoPage from './components/VideoPage'
|
|
import HappinessPage from './components/HappinessPage'
|
|
import XpplPage from './components/XpplPage'
|
|
import TabPage from './components/TabPage'
|
|
import ZineMachinesPage from './components/ZineMachinesPage'
|
|
import UnpackingPage from './components/UnpackingPage'
|
|
import UpsettingPage from './components/UpsettingPage'
|
|
import CataloguePage from './components/CataloguePage'
|
|
import OverunderPage from './components/OverunderPage'
|
|
import XenoPage from './components/XenoPage'
|
|
import BedchairtablePage from './components/BedchairtablePage'
|
|
Vue.config.productionTip = false
|
|
|
|
Vue.use(BootstrapVue)
|
|
Vue.use(VueRouter)
|
|
|
|
const router = new VueRouter({
|
|
mode: 'history',
|
|
routes: [
|
|
{ path: '/', component: SplashPage },
|
|
{ path: '/review', component: ReviewPage },
|
|
{ path: '/about', component: AboutPage },
|
|
{ path: '/glossary', component: GlossaryPage },
|
|
{ path: '/fulltext', component: FullTextPage },
|
|
{ path: '/video', component: VideoPage },
|
|
{ path: '/TimeCard', component: TimeCard },
|
|
{ path: '/HappinessPage', component: HappinessPage },
|
|
{ path: '/xppl', component: XpplPage },
|
|
{ path: '/tab', component: TabPage },
|
|
{ path: '/zinemachines', component: ZineMachinesPage },
|
|
{ path: '/unpacking', component: UnpackingPage },
|
|
{ path: '/upsetting', component: UpsettingPage },
|
|
{ path: '/catalogue', component: CataloguePage },
|
|
{ path: '/overunder', component: OverunderPage },
|
|
{ path: '/xeno', component: XenoPage },
|
|
{ path: '/bedchairtable', component: BedchairtablePage },
|
|
|
|
]
|
|
|
|
})
|
|
|
|
new Vue({
|
|
router,
|
|
render: h => h(App),
|
|
}).$mount('#app')
|