| | |
| | | window.axios = axios |
| | | const app = createApp(App) |
| | | for (const [key, component] of Object.entries(ElementPlusIconsVue)) { |
| | | app.component(key, component) |
| | | app.component(key, component) |
| | | } |
| | | app.component('basicContainer', basicContainer) |
| | | app.component('basicBlock', basicBlock) |
| | |
| | | app.use(store) |
| | | app.use(router) |
| | | app.use(ElementPlus, { |
| | | locale: messages[language], |
| | | locale: messages[language], |
| | | }) |
| | | app.use(Avue, { |
| | | axios, |
| | | calcHeight: 10, |
| | | locale: messages[language], |
| | | axios, |
| | | calcHeight: 10, |
| | | locale: messages[language], |
| | | }) |
| | | app.use(avueUeditor, { axios }) |
| | | app.use(VueClipboard, { |
| | | autoSetContainer: true, |
| | | appendToBody: true, // 这可以帮助解决一些更复杂的使用场景下的问题 |
| | | autoSetContainer: true, |
| | | appendToBody: true, // 这可以帮助解决一些更复杂的使用场景下的问题 |
| | | }) |
| | | app.use(globalComponents) |
| | | app.mount('#app') |