mirror of
https://github.com/vuejs/vue.git
synced 2024-11-21 20:28:54 +00:00
parent
3c216755f6
commit
38d52182bf
@ -17,3 +17,4 @@ const installer: PluginFunction<Option> = function(Vue, option) { }
|
||||
|
||||
Vue.use(plugin, new Option);
|
||||
Vue.use(installer, new Option);
|
||||
Vue.use(installer, new Option, new Option, new Option);
|
||||
|
1
types/vue.d.ts
vendored
1
types/vue.d.ts
vendored
@ -99,6 +99,7 @@ export declare class Vue {
|
||||
static component(id: string, definition?: Component | AsyncComponent): typeof Vue;
|
||||
|
||||
static use<T>(plugin: PluginObject<T> | PluginFunction<T>, options?: T): void;
|
||||
static use(plugin: PluginObject<any> | PluginFunction<any>, ...options: any[]): void;
|
||||
static mixin(mixin: typeof Vue | ComponentOptions<Vue>): void;
|
||||
static compile(template: string): {
|
||||
render(createElement: typeof Vue.prototype.$createElement): VNode;
|
||||
|
Loading…
Reference in New Issue
Block a user