Change directory of vue multi-page entries
This commit is contained in:
10
src/entries/_mount.ts
Normal file
10
src/entries/_mount.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import Vue, { VueConstructor } from 'vue'
|
||||
import '@/components/_globals'
|
||||
|
||||
Vue.config.productionTip = false
|
||||
|
||||
export default function(render: VueConstructor) {
|
||||
new Vue({
|
||||
render: h => h(render),
|
||||
}).$mount('#app')
|
||||
}
|
4
src/entries/about.ts
Normal file
4
src/entries/about.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
import vueMount from './_mount'
|
||||
import About from '@/views/About.vue'
|
||||
|
||||
vueMount(About)
|
4
src/entries/main.ts
Normal file
4
src/entries/main.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
import vueMount from './_mount'
|
||||
import App from '@/views/App.vue'
|
||||
|
||||
vueMount(App)
|
Reference in New Issue
Block a user