mirror of
https://github.com/aspnet/JavaScriptServices.git
synced 2025-12-24 02:30:13 +00:00
Add server-side rendering (via bundleRenderer, as this is what the Vue docs recommend, and apparently the only way it does encapsulation)
This commit is contained in:
5
templates/VueSpa/ClientApp/routes.ts
Normal file
5
templates/VueSpa/ClientApp/routes.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
export const routes = [
|
||||
{ path: '/', component: require('./components/home/home.vue.html') },
|
||||
{ path: '/counter', component: require('./components/counter/counter.vue.html') },
|
||||
{ path: '/fetchdata', component: require('./components/fetchdata/fetchdata.vue.html') }
|
||||
];
|
||||
Reference in New Issue
Block a user