nuxt-typed-router 3.0.0 → 3.0.1-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/module.json +1 -1
- package/dist/module.mjs +3 -2
- package/package.json +1 -1
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -2,7 +2,8 @@ import { addPluginTemplate, extendPages, defineNuxtModule, createResolver } from
|
|
|
2
2
|
import chalk from 'chalk';
|
|
3
3
|
import logSymbols from 'log-symbols';
|
|
4
4
|
import { defu } from 'defu';
|
|
5
|
-
import { customAlphabet
|
|
5
|
+
import { customAlphabet } from 'nanoid/non-secure';
|
|
6
|
+
import { nanoid as nanoid$1 } from 'nanoid';
|
|
6
7
|
import prettier from 'prettier';
|
|
7
8
|
import fs from 'fs';
|
|
8
9
|
import { fileURLToPath } from 'url';
|
|
@@ -551,7 +552,7 @@ function createTypedRouterDefinitionFile() {
|
|
|
551
552
|
};
|
|
552
553
|
|
|
553
554
|
// Declare runtime-core instead of vue for compatibility issues with pnpm
|
|
554
|
-
declare module '
|
|
555
|
+
declare module 'vue' {
|
|
555
556
|
interface GlobalComponents {
|
|
556
557
|
NuxtLink: TypedNuxtLink;
|
|
557
558
|
}
|