"...git@git.app.uib.no:spraksamlingane/beta.ordbok.uib.no.git" did not exist on "f2f6da0e7081746f474b323381e5b53a6c32b927"
Newer
Older
import About from './components/About.vue'
import DictionaryView from './components/DictionaryView.vue'
import vuetify from './plugins/vuetify'
import VueSocialSharing from 'vue-social-sharing'
Vue.use(VueSocialSharing);
Vue.use(VuePlausible, {
domain: 'beta.ordbok.uib.no'
})
Vue.$plausible.enableAutoPageviews()
const router = new VueRouter({
mode: 'history',
base: __dirname,
routes: [
{
children: [
{
path: 'om',
name: 'about',
component: About
},
{
path: '',
component: DictionaryView,
children: [
{
path: ':lang',
children: [
{
name: 'word',
path: 'w/:word'
},
{
name: 'lookup',
path: ':id(\\d+)/:lemma?'
},
{
name: 'search',
path: 'search/:query'
}
]
}
]
}
]
}