mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-23 18:19:40 +00:00
Add Vue template
This commit is contained in:
11
templates/VueSpa/ClientApp/boot-client.ts
Normal file
11
templates/VueSpa/ClientApp/boot-client.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import './css/site.css';
|
||||
import Vue from 'vue';
|
||||
import router from './router';
|
||||
|
||||
const App = require('./components/app/app.vue.html');
|
||||
|
||||
new Vue({
|
||||
el: 'app',
|
||||
render: h => h(App, { props: {} }),
|
||||
router: router
|
||||
});
|
||||
Reference in New Issue
Block a user