File tree Expand file tree Collapse file tree 4 files changed +8
-951
lines changed
services/vue-plugin/types Expand file tree Collapse file tree 4 files changed +8
-951
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -3,5 +3,3 @@ compressionLevel: mixed
3
3
enableGlobalCache : false
4
4
5
5
nodeLinker : node-modules
6
-
7
- yarnPath : .yarn/releases/yarn-4.9.1.cjs
Original file line number Diff line number Diff line change @@ -16,6 +16,9 @@ export type VuesticComponentName = keyof VuesticComponentsMap
16
16
* @example
17
17
* This will register all vuestic components globally:
18
18
* ```
19
+ * import * as Vue from 'vue'
20
+ * import type { VuesticComponents } from 'vuestic-ui'
21
+ *
19
22
* declare module 'vue' {
20
23
* export interface GlobalComponents extends VuesticComponents {}
21
24
* }
@@ -24,6 +27,9 @@ export type VuesticComponentName = keyof VuesticComponentsMap
24
27
* @example
25
28
* If you using tree-shaking and want to register only specific components:
26
29
* ```
30
+ * import * as Vue from 'vue'
31
+ * import type { VuesticComponents } from 'vuestic-ui'
32
+ *
27
33
* declare module 'vue' {
28
34
* export interface GlobalComponents extends VuesticComponents<'VaButton' | 'VaInput'> {}
29
35
* }
Original file line number Diff line number Diff line change 5
5
// }
6
6
7
7
import * as Vue from 'vue'
8
+ import type { VuesticComponents } from '@/services/vue-plugin'
9
+
8
10
declare module 'vue' {
9
- import type { VuesticComponents } from '@/services/vue-plugin'
10
11
// eslint-disable-next-line @typescript-eslint/no-empty-interface
11
12
export interface GlobalComponents extends VuesticComponents { }
12
13
}
You can’t perform that action at this time.
0 commit comments