Skip to content

Instantly share code, notes, and snippets.

@bodrovis

bodrovis/index.js

Created Apr 12, 2020
Embed
What would you like to do?
import Vue from 'vue'
import VueRouter from 'vue-router'
import i18n from '../i18n'
function load(component) {
// '@' is aliased to src/components
return () => import(`@/views/${component}.vue`)
}
Vue.use(VueRouter)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.