This commit is contained in:
DelLevin-Home
2026-03-10 22:06:32 +08:00
commit a4a326401e
19281 changed files with 2255158 additions and 0 deletions

14
node_modules/vue-router/src/util/warn.js generated vendored Normal file
View File

@@ -0,0 +1,14 @@
/* @flow */
export function assert (condition: any, message: string) {
if (!condition) {
throw new Error(`[vue-router] ${message}`)
}
}
export function warn (condition: any, message: string) {
if (!condition) {
typeof console !== 'undefined' && console.warn(`[vue-router] ${message}`)
}
}