feat: Add SomePage route and component
All checks were successful
CI / cache-and-install (push) Successful in 1m9s
All checks were successful
CI / cache-and-install (push) Successful in 1m9s
This commit is contained in:
9
src/pages/some-page.page.vue
Normal file
9
src/pages/some-page.page.vue
Normal file
@ -0,0 +1,9 @@
|
||||
<template>
|
||||
<div>
|
||||
<h1>Some Page</h1>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts"></script>
|
||||
|
||||
<style scoped></style>
|
1
typed-router.d.ts
vendored
1
typed-router.d.ts
vendored
@ -20,6 +20,7 @@ declare module 'vue-router/auto-routes' {
|
||||
export interface RouteNamedMap {
|
||||
'DataLoadersId': RouteRecordInfo<'DataLoadersId', '/data-loaders/:id', { id: ParamValue<true> }, { id: ParamValue<false> }>,
|
||||
'IndexPage': RouteRecordInfo<'IndexPage', '/index-page', Record<never, never>, Record<never, never>>,
|
||||
'SomePage': RouteRecordInfo<'SomePage', '/some-page', Record<never, never>, Record<never, never>>,
|
||||
'TsEnumUtil': RouteRecordInfo<'TsEnumUtil', '/ts-enum-util', Record<never, never>, Record<never, never>>,
|
||||
}
|
||||
}
|
||||
|
@ -21,9 +21,11 @@ export default defineConfig(({ mode, command }) => {
|
||||
base: env.VITE_BASE,
|
||||
plugins: [
|
||||
VueRouter({
|
||||
// https://uvr.esm.is/guide/configuration.html
|
||||
exclude: ['**/__*', '**/__*/**/*'],
|
||||
getRouteName: (routeNode) => getPascalCaseRouteName(routeNode),
|
||||
logs: false,
|
||||
extensions: ['.vue', '.page.vue', '.md'],
|
||||
}),
|
||||
// other plugins
|
||||
AutoImport({
|
||||
|
Reference in New Issue
Block a user