update:1.自定义事件
This commit is contained in:
+10
-5
@@ -1,9 +1,14 @@
|
||||
import {createApp} from 'vue'
|
||||
import { createApp } from 'vue';
|
||||
import App from './App.vue';
|
||||
import './assets/less/index.less';
|
||||
import('ant-design-vue/dist/antd.less');
|
||||
import registerGlobComp from './assets/ts/antd.ts'
|
||||
|
||||
const app = createApp(App)
|
||||
import('ant-design-vue/dist/antd.less');
|
||||
import registerGlobComp from './assets/ts/antd.ts';
|
||||
import directiveMethods from './assets/ts/directive';
|
||||
|
||||
const app = createApp(App);
|
||||
// 注册自定义事件
|
||||
directiveMethods(app);
|
||||
// 注册组件
|
||||
registerGlobComp(app);
|
||||
app.mount('#app')
|
||||
app.mount('#app');
|
||||
|
||||
Reference in New Issue
Block a user