ci: babel/types
This commit is contained in:
parent
adb4591469
commit
ff0f7fcbf0
@ -51,6 +51,7 @@
|
||||
"@babel/core": "^7.15.8",
|
||||
"@babel/preset-env": "^7.15.8",
|
||||
"@babel/preset-typescript": "^7.15.0",
|
||||
"@babel/types": "7.17.0",
|
||||
"@commitlint/cli": "^16.2.1",
|
||||
"@commitlint/config-conventional": "^16.2.1",
|
||||
"@rollup/plugin-babel": "^5.3.0",
|
||||
|
@ -1,9 +1,8 @@
|
||||
import type { App } from "vue";
|
||||
import { LayLayer } from "@layui/layer-vue";
|
||||
import type { IDefineComponent } from "../../types/index";
|
||||
|
||||
LayLayer.install = (app: App) => {
|
||||
app.component(LayLayer.name || "LayLayer", LayLayer);
|
||||
app.component(LayLayer.name, LayLayer);
|
||||
};
|
||||
|
||||
export default LayLayer as IDefineComponent;
|
||||
export default LayLayer;
|
||||
|
Loading…
Reference in New Issue
Block a user