Skip to content

Instantly share code, notes, and snippets.

Created Apr 12, 2020
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`)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment