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.4 KiB
JavaScript
76 lines
2.4 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 { 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)
|
|
|
|
import SplashPage from './components/SplashPage'
|
|
import AboutPage from './components/AboutPage'
|
|
import EditorNote from './components/EditorNote'
|
|
import leekpilaf from './components/leekpilaf'
|
|
import eggs from './components/eggs'
|
|
import breakfast from './components/breakfast'
|
|
import pesto from './components/pesto'
|
|
import bbq from './components/bbq'
|
|
import cake from './components/cake'
|
|
import cart from './components/cart'
|
|
import noodles from './components/noodles'
|
|
import onion from './components/onion'
|
|
import pretzel from './components/pretzel'
|
|
import recipe from './components/recipe'
|
|
import ricecooker from './components/ricecooker'
|
|
import scooter from './components/scooter'
|
|
import OpenCallPage from './components/OpenCallPage'
|
|
import SecondEditionPage from './components/SecondEditionPage'
|
|
import EditorNote2 from './components/EditorNote2'
|
|
|
|
Vue.config.productionTip = false
|
|
|
|
Vue.use(BootstrapVue)
|
|
Vue.use(VueRouter)
|
|
|
|
const router = new VueRouter({
|
|
mode: 'history',
|
|
routes: [
|
|
{ path: '/', component: SecondEditionPage },
|
|
{ path: '/about', component: AboutPage },
|
|
{ path: '/editornote', component: EditorNote2 },
|
|
{ path: '/leekpilaf', component: leekpilaf },
|
|
{ path: '/breakfast', component: breakfast },
|
|
{ path: '/pesto', component: pesto },
|
|
{ path: '/bbq', component: bbq },
|
|
{ path: '/cake', component: cake },
|
|
{ path: '/cart', component: cart },
|
|
{ path: '/noodles', component: noodles },
|
|
{ path: '/onion', component: onion },
|
|
{ path: '/pretzel', component: pretzel },
|
|
{ path: '/recipe', component: recipe },
|
|
{ path: '/ricecooker', component: ricecooker },
|
|
{ path: '/scooter', component: scooter },
|
|
{ path: '/eggs', component: eggs },
|
|
{ path: '/opencall', component: OpenCallPage },
|
|
{ path: '/secondissue', component: SecondEditionPage },
|
|
{ path: '/firstissue', component: SplashPage },
|
|
{ path: '/editornote1', component: EditorNote },
|
|
|
|
|
|
|
|
]
|
|
|
|
})
|
|
|
|
new Vue({
|
|
router,
|
|
render: h => h(App),
|
|
}).$mount('#app')
|