tdesign-vue-next-starter/src/main.ts

21 lines
433 B
TypeScript
Raw Normal View History

2021-11-26 11:32:16 +08:00
import { createApp } from 'vue';
import TDesign from 'tdesign-vue-next';
import 'tdesign-vue-next/es/style/index.css';
2021-11-26 11:32:16 +08:00
import VueClipboard from 'vue3-clipboard';
import { store } from './store';
import router from './router';
import '@/style/index.less';
import './permission';
2021-11-26 11:32:16 +08:00
import App from './App.vue';
2021-11-26 11:32:16 +08:00
const app = createApp(App);
app.use(TDesign);
app.use(store);
app.use(router);
app.use(VueClipboard);
app.mount('#app');