(generatedRoutes)// https://github.com/antfu/vite-ssgexportconstcreateApp = ViteSSG( App, { - routes, + routes: setupLayouts(routes), base:import.meta.env.BASE_URL },(ctx) =>{// install all modules under `modules/`Object.values(import.meta.glob<{ install: UserModule }>('./modules...
By use case DevSecOps DevOps CI/CD View all use cases By industry Healthcare Financial services Manufacturing Government View all industries View all solutions Resources Topics AI DevOps Security Software Development View all Explore Learning Pathways Events & Webinars Ebooks & Whi...
(generatedRoutes) // https://github.com/antfu/vite-ssg export const createApp = ViteSSG( App, { - routes, + routes: setupLayouts(routes), base: import.meta.env.BASE_URL }, (ctx) => { // install all modules under `modules/` Object.values(import.meta.glob<{ install: UserModule }...
## [0.8.8](https://github.com/posva/unplugin-vue-router/compare/v0.8.7...v0.8.8) (2024-05-22) ### Bug Fixes - watch all extensions not just root ([74ac22b](https://github.com/posva/unplugin-vue-router/commit/74ac22b01336a6e0a99769c6e645a5bfe29233bb)) ## [0.8.7](https...
22 + '/[...catchAll]': RouteRecordInfo<'/[...catchAll]', '/:catchAll(.*)', { catchAll: ParamValue<true> }, { catchAll: ParamValue<false> }>, 23 + '/week': RouteRecordInfo<'/week', '/week', Record<never, never>, Record<never, never>>, 24 + } 25 + } Diff ...
// if we reach this guard, all properties have been set const loaders = Array.from(to.meta[LOADER_SET_KEY]!) // TODO: could we benefit anywhere here from verifying the signal is aborted and not call the loaders at all // if (to.meta[ABORT_CONTROLLER_KEY]!.signal.aborted) { // ...
afterAll, afterEach, @@ -20,13 +20,30 @@ import { DataLoaderPlugin, NavigationResult, } from 'unplugin-vue-router/runtime' import { mockedLoader } from '../../tests/utils' import { mockPromise } from '../../tests/utils' import { useDataOne, useDataTwo, } from '../../tests...
* Array of the route params and all of its parent's params. Note that changing the params will not update the path, * you need to update both. */ get params() { return this.node.params 0 comments on commit 452331d Please sign in to comment. Footer...
Using file based routing, I am running into some strange typing with $route.params. I am using options api. Instead of params being of type RouteParams, it has generated a union of all pages with route params and Typescript compiler does...
declare module 'vue-router/auto/routes' { export interface RouteNamedMap { 'index': RouteRecordInfo<'index', '/', Record<never, never>, Record<never, never>> 'all': RouteRecordInfo<'all', '/:all(.*)', { all: ParamValue<true> }, { all: ParamValue<false> }> 'sensor': RouteRe...