mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
fix lint.
This commit is contained in:
parent
e084e0c2d3
commit
0e3a58c519
12
src/index.ts
12
src/index.ts
@ -1,4 +1,4 @@
|
|||||||
import Vue from 'vue';
|
import Vue from 'vue'
|
||||||
import Neko from './component/main.vue'
|
import Neko from './component/main.vue'
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -9,14 +9,14 @@ import Neko from './component/main.vue'
|
|||||||
*/
|
*/
|
||||||
const NekoElements = {
|
const NekoElements = {
|
||||||
install(vue: typeof Vue): void {
|
install(vue: typeof Vue): void {
|
||||||
vue.component('Neko', Neko);
|
vue.component('Neko', Neko)
|
||||||
},
|
},
|
||||||
};
|
}
|
||||||
|
|
||||||
if (typeof window !== 'undefined' && window.Vue) {
|
if (typeof window !== 'undefined' && window.Vue) {
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
window.Vue.use(NekoElements, {});
|
window.Vue.use(NekoElements, {})
|
||||||
}
|
}
|
||||||
|
|
||||||
export { Neko };
|
export { Neko }
|
||||||
export default NekoElements;
|
export default NekoElements
|
||||||
|
Loading…
Reference in New Issue
Block a user