vue-router#createWebHashHistory TypeScript Examples
The following examples show how to use
vue-router#createWebHashHistory.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: main.ts From formkit with MIT License | 6 votes |
router = createRouter({
history: createWebHashHistory(),
routes: [
{
path: '/',
component: BasicForm,
},
{
path: '/basic-form',
component: BasicForm,
},
{
path: '/custom-input',
component: CustomInput,
},
{
path: '/file-upload',
component: FileUpload,
},
{
path: '/group',
component: GroupInput,
},
{
path: '/tsx',
component: TSXExample,
},
{
path: '/plugin-schema',
component: ModifySchema,
},
],
})
Example #2
Source File: index.ts From code996 with The Unlicense | 6 votes |
router = createRouter({
history: createWebHashHistory('/'),
routes: [
{
path: '/',
name: 'index',
component: Intro,
meta: { title: 'code996' },
},
{
path: '/result',
name: 'result',
component: Result,
meta: { title: 'result | code996' },
},
],
})
Example #3
Source File: index.ts From project_nodeSnap with GNU General Public License v3.0 | 5 votes |
router = createRouter({ history: createWebHashHistory(), routes })
Example #4
Source File: router.ts From nautilus-wallet with MIT License | 5 votes |
router = createRouter({ history: createWebHashHistory(), routes })
Example #5
Source File: router.ts From malagu with MIT License | 5 votes |
router = createRouter({ history: createWebHashHistory(), routes, })
Example #6
Source File: router.ts From hexon with GNU General Public License v3.0 | 5 votes |
router = createRouter({ history: createWebHashHistory(), routes })
Example #7
Source File: router.ts From hexon with GNU General Public License v3.0 | 5 votes |
router = createRouter({ history: createWebHashHistory(), routes })
Example #8
Source File: index.ts From vue3-ts-base with MIT License | 5 votes |
router = createRouter({ history: createWebHashHistory(), routes })
Example #9
Source File: index.ts From gitmars with GNU General Public License v3.0 | 5 votes |
router = createRouter({
history: createWebHashHistory(),
// @ts-expect-error
routes
})
Example #10
Source File: index.ts From elec-sqlite-vue with GNU General Public License v3.0 | 5 votes |
router = createRouter({ history: createWebHashHistory(), routes })
Example #11
Source File: index.ts From vue3-cesium-typescript-start-up-template with MIT License | 5 votes |
router = createRouter({
history: createWebHashHistory(),
// history: createWebHistory(),
routes,
})
Example #12
Source File: main.ts From vue-components-lib-seed with MIT License | 5 votes |
router = createRouter({ history: createWebHashHistory(), routes, })