Skip to content

Commit 5974fd7

Browse files
committed
chore: comment
1 parent bc773ab commit 5974fd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/codegen/vueRouterModule.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ ${addPiniaColada ? "export * from 'unplugin-vue-router/data-loaders/pinia-colada
2323
2424
export function createRouter(options) {
2525
const { extendRoutes, routes } = options
26-
// use Object.assign for better browser support
2726
if (extendRoutes) {
2827
console.warn('"extendRoutes()" is deprecated, please modify the routes directly. See https://uvr.esm.is/guide/extending-routes.html#extending-routes-at-runtime for an alternative.')
2928
}
29+
// use Object.assign for better browser support
3030
const router = _createRouter(Object.assign(
3131
options,
3232
{ routes: typeof extendRoutes === 'function' ? (extendRoutes(routes) || routes) : routes },

0 commit comments

Comments
 (0)