create-vue 3.11.1 → 3.12.0
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/LICENSE +101 -0
- package/locales/en-US.json +10 -1
- package/locales/fr-FR.json +10 -1
- package/locales/tr-TR.json +10 -1
- package/locales/zh-Hans.json +10 -1
- package/locales/zh-Hant.json +10 -1
- package/outfile.cjs +84 -49
- package/package.json +6 -7
- package/template/base/index.html +1 -1
- package/template/base/node_modules/.bin/tsc +4 -4
- package/template/base/node_modules/.bin/tsserver +4 -4
- package/template/base/node_modules/.bin/vite +2 -2
- package/template/base/node_modules/.vue-global-types/vue_3.5_false.d.ts +116 -0
- package/template/base/package.json +1 -1
- package/template/base/vite.config.js.data.mjs +3 -3
- package/template/base/vite.config.js.ejs +2 -2
- package/template/code/default/src/components/HelloWorld.vue +2 -2
- package/template/code/default/src/components/TheWelcome.vue +6 -4
- package/template/code/router/src/components/HelloWorld.vue +2 -2
- package/template/code/router/src/components/TheWelcome.vue +6 -4
- package/template/code/router/src/router/index.js +4 -4
- package/template/code/typescript-default/src/components/TheWelcome.vue +6 -4
- package/template/code/typescript-router/src/components/TheWelcome.vue +6 -4
- package/template/code/typescript-router/src/router/index.ts +4 -4
- package/template/config/cypress/cypress.config.js +2 -2
- package/template/config/cypress/node_modules/.bin/cypress +2 -2
- package/template/config/cypress/package.json +1 -1
- package/template/config/cypress-ct/cypress.config.js +4 -4
- package/template/config/cypress-ct/node_modules/.bin/cypress +2 -2
- package/template/config/cypress-ct/node_modules/.bin/tsc +4 -4
- package/template/config/cypress-ct/node_modules/.bin/tsserver +4 -4
- package/template/config/cypress-ct/package.json +1 -1
- package/template/config/devtools/node_modules/.bin/tsc +4 -4
- package/template/config/devtools/node_modules/.bin/tsserver +4 -4
- package/template/config/devtools/node_modules/.bin/vite +4 -4
- package/template/config/devtools/package.json +1 -1
- package/template/config/devtools/vite.config.js.data.mjs +2 -2
- package/template/config/eslint/.vscode/extensions.json +1 -1
- package/template/config/jsx/node_modules/.bin/tsc +4 -4
- package/template/config/jsx/node_modules/.bin/tsserver +4 -4
- package/template/config/jsx/node_modules/.bin/vite +2 -2
- package/template/config/jsx/package.json +1 -1
- package/template/config/jsx/vite.config.js.data.mjs +3 -3
- package/template/config/nightwatch/nightwatch.conf.cjs +25 -25
- package/template/config/nightwatch/node_modules/.bin/chromedriver +2 -2
- package/template/config/nightwatch/node_modules/.bin/nightwatch +2 -2
- package/template/config/nightwatch/node_modules/.bin/ts-node +2 -2
- package/template/config/nightwatch/node_modules/.bin/ts-node-cwd +2 -2
- package/template/config/nightwatch/node_modules/.bin/ts-node-esm +2 -2
- package/template/config/nightwatch/node_modules/.bin/ts-node-script +2 -2
- package/template/config/nightwatch/node_modules/.bin/ts-node-transpile-only +2 -2
- package/template/config/nightwatch/node_modules/.bin/ts-script +2 -2
- package/template/config/nightwatch/node_modules/.bin/tsc +4 -4
- package/template/config/nightwatch/node_modules/.bin/tsserver +4 -4
- package/template/config/nightwatch/node_modules/.bin/vite +2 -2
- package/template/config/nightwatch/package.json +3 -3
- package/template/config/nightwatch/vite.config.js.data.mjs +2 -2
- package/template/config/nightwatch-ct/node_modules/.bin/tsc +4 -4
- package/template/config/nightwatch-ct/node_modules/.bin/tsserver +4 -4
- package/template/config/nightwatch-ct/vite.config.js.data.mjs +2 -2
- package/template/config/pinia/node_modules/.bin/tsc +4 -4
- package/template/config/pinia/node_modules/.bin/tsserver +4 -4
- package/template/config/pinia/package.json +1 -1
- package/template/config/playwright/node_modules/.bin/playwright +2 -2
- package/template/config/playwright/package.json +1 -1
- package/template/config/playwright/playwright.config.js +11 -11
- package/template/config/router/node_modules/.bin/tsc +4 -4
- package/template/config/router/node_modules/.bin/tsserver +4 -4
- package/template/config/typescript/node_modules/.bin/npm-run-all +2 -2
- package/template/config/typescript/node_modules/.bin/npm-run-all2 +2 -2
- package/template/config/typescript/node_modules/.bin/run-p +2 -2
- package/template/config/typescript/node_modules/.bin/run-s +2 -2
- package/template/config/typescript/node_modules/.bin/tsc +2 -2
- package/template/config/typescript/node_modules/.bin/tsserver +2 -2
- package/template/config/typescript/node_modules/.bin/vue-tsc +2 -2
- package/template/config/typescript/package.json +4 -4
- package/template/config/vitest/node_modules/.bin/tsc +4 -4
- package/template/config/vitest/node_modules/.bin/tsserver +4 -4
- package/template/config/vitest/node_modules/.bin/vitest +2 -2
- package/template/config/vitest/package.json +1 -1
- package/template/config/vitest/vitest.config.js +3 -3
- package/template/eslint/package.json +2 -2
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
export {};
|
|
3
|
+
|
|
4
|
+
; declare global {
|
|
5
|
+
const __VLS_intrinsicElements: __VLS_IntrinsicElements;
|
|
6
|
+
const __VLS_directiveBindingRestFields: { instance: null, oldValue: null, modifiers: any, dir: any };
|
|
7
|
+
const __VLS_unref: typeof import('vue').unref;
|
|
8
|
+
|
|
9
|
+
const __VLS_nativeElements = {
|
|
10
|
+
...{} as SVGElementTagNameMap,
|
|
11
|
+
...{} as HTMLElementTagNameMap,
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
type __VLS_IntrinsicElements = import('vue/jsx-runtime').JSX.IntrinsicElements;
|
|
15
|
+
type __VLS_Element = import('vue/jsx-runtime').JSX.Element;
|
|
16
|
+
type __VLS_GlobalComponents = import('vue').GlobalComponents;
|
|
17
|
+
type __VLS_GlobalDirectives = import('vue').GlobalDirectives;
|
|
18
|
+
type __VLS_IsAny<T> = 0 extends 1 & T ? true : false;
|
|
19
|
+
type __VLS_PickNotAny<A, B> = __VLS_IsAny<A> extends true ? B : A;
|
|
20
|
+
type __VLS_unknownDirective = (arg1: unknown, arg2: unknown, arg3: unknown, arg4: unknown) => void;
|
|
21
|
+
type __VLS_WithComponent<N0 extends string, LocalComponents, N1 extends string, N2 extends string, N3 extends string> =
|
|
22
|
+
N1 extends keyof LocalComponents ? N1 extends N0 ? Pick<LocalComponents, N0 extends keyof LocalComponents ? N0 : never> : { [K in N0]: LocalComponents[N1] } :
|
|
23
|
+
N2 extends keyof LocalComponents ? N2 extends N0 ? Pick<LocalComponents, N0 extends keyof LocalComponents ? N0 : never> : { [K in N0]: LocalComponents[N2] } :
|
|
24
|
+
N3 extends keyof LocalComponents ? N3 extends N0 ? Pick<LocalComponents, N0 extends keyof LocalComponents ? N0 : never> : { [K in N0]: LocalComponents[N3] } :
|
|
25
|
+
N1 extends keyof __VLS_GlobalComponents ? N1 extends N0 ? Pick<__VLS_GlobalComponents, N0 extends keyof __VLS_GlobalComponents ? N0 : never> : { [K in N0]: __VLS_GlobalComponents[N1] } :
|
|
26
|
+
N2 extends keyof __VLS_GlobalComponents ? N2 extends N0 ? Pick<__VLS_GlobalComponents, N0 extends keyof __VLS_GlobalComponents ? N0 : never> : { [K in N0]: __VLS_GlobalComponents[N2] } :
|
|
27
|
+
N3 extends keyof __VLS_GlobalComponents ? N3 extends N0 ? Pick<__VLS_GlobalComponents, N0 extends keyof __VLS_GlobalComponents ? N0 : never> : { [K in N0]: __VLS_GlobalComponents[N3] } :
|
|
28
|
+
{ [K in N0]: unknown }
|
|
29
|
+
type __VLS_FunctionalComponentProps<T, K> =
|
|
30
|
+
'__ctx' extends keyof __VLS_PickNotAny<K, {}> ? K extends { __ctx?: { props?: infer P } } ? NonNullable<P> : never
|
|
31
|
+
: T extends (props: infer P, ...args: any) => any ? P :
|
|
32
|
+
{};
|
|
33
|
+
type __VLS_IsFunction<T, K> = K extends keyof T
|
|
34
|
+
? __VLS_IsAny<T[K]> extends false
|
|
35
|
+
? unknown extends T[K]
|
|
36
|
+
? false
|
|
37
|
+
: true
|
|
38
|
+
: false
|
|
39
|
+
: false;
|
|
40
|
+
// fix https://github.com/vuejs/language-tools/issues/926
|
|
41
|
+
type __VLS_UnionToIntersection<U> = (U extends unknown ? (arg: U) => unknown : never) extends ((arg: infer P) => unknown) ? P : never;
|
|
42
|
+
type __VLS_OverloadUnionInner<T, U = unknown> = U & T extends (...args: infer A) => infer R
|
|
43
|
+
? U extends T
|
|
44
|
+
? never
|
|
45
|
+
: __VLS_OverloadUnionInner<T, Pick<T, keyof T> & U & ((...args: A) => R)> | ((...args: A) => R)
|
|
46
|
+
: never;
|
|
47
|
+
type __VLS_OverloadUnion<T> = Exclude<
|
|
48
|
+
__VLS_OverloadUnionInner<(() => never) & T>,
|
|
49
|
+
T extends () => never ? never : () => never
|
|
50
|
+
>;
|
|
51
|
+
type __VLS_ConstructorOverloads<T> = __VLS_OverloadUnion<T> extends infer F
|
|
52
|
+
? F extends (event: infer E, ...args: infer A) => any
|
|
53
|
+
? { [K in E & string]: (...args: A) => void; }
|
|
54
|
+
: never
|
|
55
|
+
: never;
|
|
56
|
+
type __VLS_NormalizeEmits<T> = __VLS_PrettifyGlobal<
|
|
57
|
+
__VLS_UnionToIntersection<
|
|
58
|
+
__VLS_ConstructorOverloads<T> & {
|
|
59
|
+
[K in keyof T]: T[K] extends any[] ? { (...args: T[K]): void } : never
|
|
60
|
+
}
|
|
61
|
+
>
|
|
62
|
+
>;
|
|
63
|
+
type __VLS_PrettifyGlobal<T> = { [K in keyof T]: T[K]; } & {};
|
|
64
|
+
|
|
65
|
+
function __VLS_getVForSourceType(source: number): [number, number, number][];
|
|
66
|
+
function __VLS_getVForSourceType(source: string): [string, number, number][];
|
|
67
|
+
function __VLS_getVForSourceType<T extends any[]>(source: T): [
|
|
68
|
+
item: T[number],
|
|
69
|
+
key: number,
|
|
70
|
+
index: number,
|
|
71
|
+
][];
|
|
72
|
+
function __VLS_getVForSourceType<T extends { [Symbol.iterator](): Iterator<any> }>(source: T): [
|
|
73
|
+
item: T extends { [Symbol.iterator](): Iterator<infer T1> } ? T1 : never,
|
|
74
|
+
key: number,
|
|
75
|
+
index: undefined,
|
|
76
|
+
][];
|
|
77
|
+
// #3845
|
|
78
|
+
function __VLS_getVForSourceType<T extends number | { [Symbol.iterator](): Iterator<any> }>(source: T): [
|
|
79
|
+
item: number | (Exclude<T, number> extends { [Symbol.iterator](): Iterator<infer T1> } ? T1 : never),
|
|
80
|
+
key: number,
|
|
81
|
+
index: undefined,
|
|
82
|
+
][];
|
|
83
|
+
function __VLS_getVForSourceType<T>(source: T): [
|
|
84
|
+
item: T[keyof T],
|
|
85
|
+
key: keyof T,
|
|
86
|
+
index: number,
|
|
87
|
+
][];
|
|
88
|
+
// @ts-ignore
|
|
89
|
+
function __VLS_getSlotParams<T>(slot: T): Parameters<__VLS_PickNotAny<NonNullable<T>, (...args: any[]) => any>>;
|
|
90
|
+
// @ts-ignore
|
|
91
|
+
function __VLS_getSlotParam<T>(slot: T): Parameters<__VLS_PickNotAny<NonNullable<T>, (...args: any[]) => any>>[0];
|
|
92
|
+
function __VLS_directiveAsFunction<T extends import('vue').Directive>(dir: T): T extends (...args: any) => any
|
|
93
|
+
? T | __VLS_unknownDirective
|
|
94
|
+
: NonNullable<(T & Record<string, __VLS_unknownDirective>)['created' | 'beforeMount' | 'mounted' | 'beforeUpdate' | 'updated' | 'beforeUnmount' | 'unmounted']>;
|
|
95
|
+
function __VLS_withScope<T, K>(ctx: T, scope: K): ctx is T & K;
|
|
96
|
+
function __VLS_makeOptional<T>(t: T): { [K in keyof T]?: T[K] };
|
|
97
|
+
function __VLS_nonNullable<T>(t: T): T extends null | undefined ? never : T;
|
|
98
|
+
function __VLS_asFunctionalComponent<T, K = T extends new (...args: any) => any ? InstanceType<T> : unknown>(t: T, instance?: K):
|
|
99
|
+
T extends new (...args: any) => any
|
|
100
|
+
? (props: (K extends { $props: infer Props } ? Props : any) & Record<string, unknown>, ctx?: any) => __VLS_Element & { __ctx?: {
|
|
101
|
+
attrs?: any,
|
|
102
|
+
slots?: K extends { $slots: infer Slots } ? Slots : any,
|
|
103
|
+
emit?: K extends { $emit: infer Emit } ? Emit : any
|
|
104
|
+
} & { props?: (K extends { $props: infer Props } ? Props : any) & Record<string, unknown>; expose?(exposed: K): void; } }
|
|
105
|
+
: T extends () => any ? (props: {}, ctx?: any) => ReturnType<T>
|
|
106
|
+
: T extends (...args: any) => any ? T
|
|
107
|
+
: (_: {} & Record<string, unknown>, ctx?: any) => { __ctx?: { attrs?: any, expose?: any, slots?: any, emit?: any, props?: {} & Record<string, unknown> } };
|
|
108
|
+
function __VLS_elementAsFunction<T>(tag: T, endTag?: T): (_: T & Record<string, unknown>) => void;
|
|
109
|
+
function __VLS_functionalComponentArgsRest<T extends (...args: any) => any>(t: T): 2 extends Parameters<T>['length'] ? [any] : [];
|
|
110
|
+
function __VLS_pickFunctionalComponentCtx<T, K>(comp: T, compInstance: K): NonNullable<__VLS_PickNotAny<
|
|
111
|
+
'__ctx' extends keyof __VLS_PickNotAny<K, {}> ? K extends { __ctx?: infer Ctx } ? Ctx : never : any
|
|
112
|
+
, T extends (props: any, ctx: infer Ctx) => any ? Ctx : any
|
|
113
|
+
>>;
|
|
114
|
+
function __VLS_normalizeSlot<S>(s: S): S extends () => infer R ? (props: {}) => R : S;
|
|
115
|
+
function __VLS_tryAsConstant<const T>(t: T): T;
|
|
116
|
+
}
|
|
@@ -28,10 +28,12 @@ import SupportIcon from './icons/IconSupport.vue'
|
|
|
28
28
|
This project is served and bundled with
|
|
29
29
|
<a href="https://vite.dev/guide/features.html" target="_blank" rel="noopener">Vite</a>. The
|
|
30
30
|
recommended IDE setup is
|
|
31
|
-
<a href="https://code.visualstudio.com/" target="_blank" rel="noopener">VSCode</a>
|
|
31
|
+
<a href="https://code.visualstudio.com/" target="_blank" rel="noopener">VSCode</a>
|
|
32
|
+
+
|
|
32
33
|
<a href="https://github.com/johnsoncodehk/volar" target="_blank" rel="noopener">Volar</a>. If
|
|
33
34
|
you need to test your components and web pages, check out
|
|
34
|
-
<a href="https://www.cypress.io/" target="_blank" rel="noopener">Cypress</a>
|
|
35
|
+
<a href="https://www.cypress.io/" target="_blank" rel="noopener">Cypress</a>
|
|
36
|
+
and
|
|
35
37
|
<a href="https://on.cypress.io/component" target="_blank" rel="noopener"
|
|
36
38
|
>Cypress Component Testing</a
|
|
37
39
|
>.
|
|
@@ -69,8 +71,8 @@ import SupportIcon from './icons/IconSupport.vue'
|
|
|
69
71
|
<a href="https://stackoverflow.com/questions/tagged/vue.js" target="_blank" rel="noopener"
|
|
70
72
|
>StackOverflow</a
|
|
71
73
|
>. You should also subscribe to
|
|
72
|
-
<a href="https://news.vuejs.org" target="_blank" rel="noopener">our mailing list</a>
|
|
73
|
-
the official
|
|
74
|
+
<a href="https://news.vuejs.org" target="_blank" rel="noopener">our mailing list</a>
|
|
75
|
+
and follow the official
|
|
74
76
|
<a href="https://twitter.com/vuejs" target="_blank" rel="noopener">@vuejs</a>
|
|
75
77
|
twitter account for latest news in the Vue world.
|
|
76
78
|
</WelcomeItem>
|
|
@@ -28,10 +28,12 @@ import SupportIcon from './icons/IconSupport.vue'
|
|
|
28
28
|
This project is served and bundled with
|
|
29
29
|
<a href="https://vite.dev/guide/features.html" target="_blank" rel="noopener">Vite</a>. The
|
|
30
30
|
recommended IDE setup is
|
|
31
|
-
<a href="https://code.visualstudio.com/" target="_blank" rel="noopener">VSCode</a>
|
|
31
|
+
<a href="https://code.visualstudio.com/" target="_blank" rel="noopener">VSCode</a>
|
|
32
|
+
+
|
|
32
33
|
<a href="https://github.com/johnsoncodehk/volar" target="_blank" rel="noopener">Volar</a>. If
|
|
33
34
|
you need to test your components and web pages, check out
|
|
34
|
-
<a href="https://www.cypress.io/" target="_blank" rel="noopener">Cypress</a>
|
|
35
|
+
<a href="https://www.cypress.io/" target="_blank" rel="noopener">Cypress</a>
|
|
36
|
+
and
|
|
35
37
|
<a href="https://on.cypress.io/component" target="_blank" rel="noopener"
|
|
36
38
|
>Cypress Component Testing</a
|
|
37
39
|
>.
|
|
@@ -69,8 +71,8 @@ import SupportIcon from './icons/IconSupport.vue'
|
|
|
69
71
|
<a href="https://stackoverflow.com/questions/tagged/vue.js" target="_blank" rel="noopener"
|
|
70
72
|
>StackOverflow</a
|
|
71
73
|
>. You should also subscribe to
|
|
72
|
-
<a href="https://news.vuejs.org" target="_blank" rel="noopener">our mailing list</a>
|
|
73
|
-
the official
|
|
74
|
+
<a href="https://news.vuejs.org" target="_blank" rel="noopener">our mailing list</a>
|
|
75
|
+
and follow the official
|
|
74
76
|
<a href="https://twitter.com/vuejs" target="_blank" rel="noopener">@vuejs</a>
|
|
75
77
|
twitter account for latest news in the Vue world.
|
|
76
78
|
</WelcomeItem>
|
|
@@ -7,7 +7,7 @@ const router = createRouter({
|
|
|
7
7
|
{
|
|
8
8
|
path: '/',
|
|
9
9
|
name: 'home',
|
|
10
|
-
component: HomeView
|
|
10
|
+
component: HomeView,
|
|
11
11
|
},
|
|
12
12
|
{
|
|
13
13
|
path: '/about',
|
|
@@ -15,9 +15,9 @@ const router = createRouter({
|
|
|
15
15
|
// route level code-splitting
|
|
16
16
|
// this generates a separate chunk (About.[hash].js) for this route
|
|
17
17
|
// which is lazy-loaded when the route is visited.
|
|
18
|
-
component: () => import('../views/AboutView.vue')
|
|
19
|
-
}
|
|
20
|
-
]
|
|
18
|
+
component: () => import('../views/AboutView.vue'),
|
|
19
|
+
},
|
|
20
|
+
],
|
|
21
21
|
})
|
|
22
22
|
|
|
23
23
|
export default router
|
|
@@ -28,10 +28,12 @@ import SupportIcon from './icons/IconSupport.vue'
|
|
|
28
28
|
This project is served and bundled with
|
|
29
29
|
<a href="https://vite.dev/guide/features.html" target="_blank" rel="noopener">Vite</a>. The
|
|
30
30
|
recommended IDE setup is
|
|
31
|
-
<a href="https://code.visualstudio.com/" target="_blank" rel="noopener">VSCode</a>
|
|
31
|
+
<a href="https://code.visualstudio.com/" target="_blank" rel="noopener">VSCode</a>
|
|
32
|
+
+
|
|
32
33
|
<a href="https://github.com/johnsoncodehk/volar" target="_blank" rel="noopener">Volar</a>. If
|
|
33
34
|
you need to test your components and web pages, check out
|
|
34
|
-
<a href="https://www.cypress.io/" target="_blank" rel="noopener">Cypress</a>
|
|
35
|
+
<a href="https://www.cypress.io/" target="_blank" rel="noopener">Cypress</a>
|
|
36
|
+
and
|
|
35
37
|
<a href="https://on.cypress.io/component" target="_blank" rel="noopener"
|
|
36
38
|
>Cypress Component Testing</a
|
|
37
39
|
>.
|
|
@@ -69,8 +71,8 @@ import SupportIcon from './icons/IconSupport.vue'
|
|
|
69
71
|
<a href="https://stackoverflow.com/questions/tagged/vue.js" target="_blank" rel="noopener"
|
|
70
72
|
>StackOverflow</a
|
|
71
73
|
>. You should also subscribe to
|
|
72
|
-
<a href="https://news.vuejs.org" target="_blank" rel="noopener">our mailing list</a>
|
|
73
|
-
the official
|
|
74
|
+
<a href="https://news.vuejs.org" target="_blank" rel="noopener">our mailing list</a>
|
|
75
|
+
and follow the official
|
|
74
76
|
<a href="https://twitter.com/vuejs" target="_blank" rel="noopener">@vuejs</a>
|
|
75
77
|
twitter account for latest news in the Vue world.
|
|
76
78
|
</WelcomeItem>
|
|
@@ -28,10 +28,12 @@ import SupportIcon from './icons/IconSupport.vue'
|
|
|
28
28
|
This project is served and bundled with
|
|
29
29
|
<a href="https://vite.dev/guide/features.html" target="_blank" rel="noopener">Vite</a>. The
|
|
30
30
|
recommended IDE setup is
|
|
31
|
-
<a href="https://code.visualstudio.com/" target="_blank" rel="noopener">VSCode</a>
|
|
31
|
+
<a href="https://code.visualstudio.com/" target="_blank" rel="noopener">VSCode</a>
|
|
32
|
+
+
|
|
32
33
|
<a href="https://github.com/johnsoncodehk/volar" target="_blank" rel="noopener">Volar</a>. If
|
|
33
34
|
you need to test your components and web pages, check out
|
|
34
|
-
<a href="https://www.cypress.io/" target="_blank" rel="noopener">Cypress</a>
|
|
35
|
+
<a href="https://www.cypress.io/" target="_blank" rel="noopener">Cypress</a>
|
|
36
|
+
and
|
|
35
37
|
<a href="https://on.cypress.io/component" target="_blank" rel="noopener"
|
|
36
38
|
>Cypress Component Testing</a
|
|
37
39
|
>.
|
|
@@ -69,8 +71,8 @@ import SupportIcon from './icons/IconSupport.vue'
|
|
|
69
71
|
<a href="https://stackoverflow.com/questions/tagged/vue.js" target="_blank" rel="noopener"
|
|
70
72
|
>StackOverflow</a
|
|
71
73
|
>. You should also subscribe to
|
|
72
|
-
<a href="https://news.vuejs.org" target="_blank" rel="noopener">our mailing list</a>
|
|
73
|
-
the official
|
|
74
|
+
<a href="https://news.vuejs.org" target="_blank" rel="noopener">our mailing list</a>
|
|
75
|
+
and follow the official
|
|
74
76
|
<a href="https://twitter.com/vuejs" target="_blank" rel="noopener">@vuejs</a>
|
|
75
77
|
twitter account for latest news in the Vue world.
|
|
76
78
|
</WelcomeItem>
|
|
@@ -7,7 +7,7 @@ const router = createRouter({
|
|
|
7
7
|
{
|
|
8
8
|
path: '/',
|
|
9
9
|
name: 'home',
|
|
10
|
-
component: HomeView
|
|
10
|
+
component: HomeView,
|
|
11
11
|
},
|
|
12
12
|
{
|
|
13
13
|
path: '/about',
|
|
@@ -15,9 +15,9 @@ const router = createRouter({
|
|
|
15
15
|
// route level code-splitting
|
|
16
16
|
// this generates a separate chunk (About.[hash].js) for this route
|
|
17
17
|
// which is lazy-loaded when the route is visited.
|
|
18
|
-
component: () => import('../views/AboutView.vue')
|
|
19
|
-
}
|
|
20
|
-
]
|
|
18
|
+
component: () => import('../views/AboutView.vue'),
|
|
19
|
+
},
|
|
20
|
+
],
|
|
21
21
|
})
|
|
22
22
|
|
|
23
23
|
export default router
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/cypress@13.15.
|
|
9
|
+
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/cypress@13.15.1/node_modules/cypress/bin/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/cypress@13.15.1/node_modules/cypress/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/cypress@13.15.1/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/cypress@13.15.
|
|
11
|
+
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/cypress@13.15.1/node_modules/cypress/bin/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/cypress@13.15.1/node_modules/cypress/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/cypress@13.15.1/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../cypress/bin/cypress" "$@"
|
|
@@ -3,13 +3,13 @@ import { defineConfig } from 'cypress'
|
|
|
3
3
|
export default defineConfig({
|
|
4
4
|
e2e: {
|
|
5
5
|
specPattern: 'cypress/e2e/**/*.{cy,spec}.{js,jsx,ts,tsx}',
|
|
6
|
-
baseUrl: 'http://localhost:4173'
|
|
6
|
+
baseUrl: 'http://localhost:4173',
|
|
7
7
|
},
|
|
8
8
|
component: {
|
|
9
9
|
specPattern: 'src/**/__tests__/*.{cy,spec}.{js,ts,jsx,tsx}',
|
|
10
10
|
devServer: {
|
|
11
11
|
framework: 'vue',
|
|
12
|
-
bundler: 'vite'
|
|
13
|
-
}
|
|
14
|
-
}
|
|
12
|
+
bundler: 'vite',
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
15
|
})
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/cypress@13.15.
|
|
9
|
+
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/cypress@13.15.1/node_modules/cypress/bin/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/cypress@13.15.1/node_modules/cypress/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/cypress@13.15.1/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/cypress@13.15.
|
|
11
|
+
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/cypress@13.15.1/node_modules/cypress/bin/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/cypress@13.15.1/node_modules/cypress/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/cypress@13.15.1/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../cypress/bin/cypress" "$@"
|
|
@@ -6,12 +6,12 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.
|
|
9
|
+
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/bin/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.3/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.
|
|
11
|
+
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/bin/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.3/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/typescript@5.6.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/bin/tsc" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../../node_modules/.pnpm/typescript@5.6.
|
|
16
|
+
exec node "$basedir/../../../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/bin/tsc" "$@"
|
|
17
17
|
fi
|
|
@@ -6,12 +6,12 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.
|
|
9
|
+
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/bin/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.3/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.
|
|
11
|
+
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/bin/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.3/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/typescript@5.6.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/bin/tsserver" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../../node_modules/.pnpm/typescript@5.6.
|
|
16
|
+
exec node "$basedir/../../../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/bin/tsserver" "$@"
|
|
17
17
|
fi
|
|
@@ -6,12 +6,12 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.
|
|
9
|
+
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/bin/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.3/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.
|
|
11
|
+
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/bin/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.3/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/typescript@5.6.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/bin/tsc" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../../node_modules/.pnpm/typescript@5.6.
|
|
16
|
+
exec node "$basedir/../../../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/bin/tsc" "$@"
|
|
17
17
|
fi
|
|
@@ -6,12 +6,12 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.
|
|
9
|
+
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/bin/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.3/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.
|
|
11
|
+
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/bin/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.3/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/typescript@5.6.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/bin/tsserver" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../../node_modules/.pnpm/typescript@5.6.
|
|
16
|
+
exec node "$basedir/../../../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/bin/tsserver" "$@"
|
|
17
17
|
fi
|
|
@@ -6,12 +6,12 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vite@5.4.
|
|
9
|
+
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vite@5.4.10_@types+node@22.7.5/node_modules/vite/bin/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vite@5.4.10_@types+node@22.7.5/node_modules/vite/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vite@5.4.10_@types+node@22.7.5/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vite@5.4.
|
|
11
|
+
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vite@5.4.10_@types+node@22.7.5/node_modules/vite/bin/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vite@5.4.10_@types+node@22.7.5/node_modules/vite/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vite@5.4.10_@types+node@22.7.5/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/vite@5.4.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/vite@5.4.10_@types+node@22.7.5/node_modules/vite/bin/vite.js" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../../node_modules/.pnpm/vite@5.4.
|
|
16
|
+
exec node "$basedir/../../../../../node_modules/.pnpm/vite@5.4.10_@types+node@22.7.5/node_modules/vite/bin/vite.js" "$@"
|
|
17
17
|
fi
|
|
@@ -2,11 +2,11 @@ export default function getData({ oldData }) {
|
|
|
2
2
|
const vueDevtoolsPlugin = {
|
|
3
3
|
id: 'vite-plugin-vue-devtools',
|
|
4
4
|
importer: "import vueDevTools from 'vite-plugin-vue-devtools'",
|
|
5
|
-
initializer: 'vueDevTools()'
|
|
5
|
+
initializer: 'vueDevTools()',
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
return {
|
|
9
9
|
...oldData,
|
|
10
|
-
plugins: [...oldData.plugins, vueDevtoolsPlugin]
|
|
10
|
+
plugins: [...oldData.plugins, vueDevtoolsPlugin],
|
|
11
11
|
}
|
|
12
12
|
}
|
|
@@ -6,12 +6,12 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.
|
|
9
|
+
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/bin/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.3/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.
|
|
11
|
+
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/bin/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.3/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/typescript@5.6.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/bin/tsc" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../../node_modules/.pnpm/typescript@5.6.
|
|
16
|
+
exec node "$basedir/../../../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/bin/tsc" "$@"
|
|
17
17
|
fi
|
|
@@ -6,12 +6,12 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.
|
|
9
|
+
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/bin/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.3/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.
|
|
11
|
+
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/bin/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/typescript@5.6.3/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
|
-
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/typescript@5.6.
|
|
14
|
+
exec "$basedir/node" "$basedir/../../../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/bin/tsserver" "$@"
|
|
15
15
|
else
|
|
16
|
-
exec node "$basedir/../../../../../node_modules/.pnpm/typescript@5.6.
|
|
16
|
+
exec node "$basedir/../../../../../node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/bin/tsserver" "$@"
|
|
17
17
|
fi
|
|
@@ -6,9 +6,9 @@ case `uname` in
|
|
|
6
6
|
esac
|
|
7
7
|
|
|
8
8
|
if [ -z "$NODE_PATH" ]; then
|
|
9
|
-
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vite@5.4.
|
|
9
|
+
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vite@5.4.10_@types+node@22.7.5/node_modules/vite/bin/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vite@5.4.10_@types+node@22.7.5/node_modules/vite/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vite@5.4.10_@types+node@22.7.5/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules"
|
|
10
10
|
else
|
|
11
|
-
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vite@5.4.
|
|
11
|
+
export NODE_PATH="/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vite@5.4.10_@types+node@22.7.5/node_modules/vite/bin/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vite@5.4.10_@types+node@22.7.5/node_modules/vite/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/vite@5.4.10_@types+node@22.7.5/node_modules:/Users/haoqun/Developer/vuejs/create-vue/node_modules/.pnpm/node_modules:$NODE_PATH"
|
|
12
12
|
fi
|
|
13
13
|
if [ -x "$basedir/node" ]; then
|
|
14
14
|
exec "$basedir/node" "$basedir/../vite/bin/vite.js" "$@"
|