8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c93426 commit 028617dCopy full SHA for 028617d
packages/plugin-vue/src/index.ts
@@ -83,7 +83,13 @@ export interface ResolvedOptions extends Options {
83
devToolsEnabled?: boolean
84
}
85
86
-export default function vuePlugin(rawOptions: Options = {}): Plugin {
+export interface Api {
87
+ get options(): ResolvedOptions
88
+ set options(value: ResolvedOptions)
89
+ version: string
90
+}
91
+
92
+export default function vuePlugin(rawOptions: Options = {}): Plugin<Api> {
93
const options = shallowRef<ResolvedOptions>({
94
isProduction: process.env.NODE_ENV === 'production',
95
compiler: null as any, // to be set in buildStart
0 commit comments