first commit

This commit is contained in:
Pedro G. Galaviz
2019-11-28 20:55:32 -06:00
parent bde5ae77c1
commit 4a99a58085
63 changed files with 6227 additions and 174 deletions

29
docs-src/main.js Normal file
View File

@@ -0,0 +1,29 @@
import Vue from 'vue'
import VueRouter from 'vue-router'
import VueHighlights, { autoLink, autoHighlight } from '../src'
import App from './App.vue'
import Home from './Home.vue'
import Docs from './Docs.vue'
import './styles/main.styl'
Vue.use(VueRouter)
const router = new VueRouter({
routes: [
{ path: '/', name: 'home', component: Home },
{ path: '/docs', name: 'docs', component: Docs },
{ path: '*', component: Home }
]
})
Vue.component(VueHighlights.name, VueHighlights)
Vue.prototype.$autoLink = autoLink
Vue.prototype.$autoHighlight = autoHighlight
Vue.config.productionTip = false
new Vue({
router,
render: h => h(App)
}).$mount('#app')