Wed Apr 26 15:07:00 UTC 2023 inscode

上级 5d7da06f
// 导入 createApp 函数
import { createApp } from 'vue' import { createApp } from 'vue'
// 导入 ViewUIPlus 组件库
import ViewUIPlus from 'view-ui-plus' import ViewUIPlus from 'view-ui-plus'
// 导入 App 组件
import App from './App.vue' import App from './App.vue'
// 导入 ViewUIPlus 样式文件
import 'view-ui-plus/dist/styles/viewuiplus.css' import 'view-ui-plus/dist/styles/viewuiplus.css'
// 导入自定义样式文件
import './assets/main.css' import './assets/main.css'
// 创建应用程序实例
const app = createApp(App) const app = createApp(App)
// 安装 ViewUIPlus 组件库
app.use(ViewUIPlus) app.use(ViewUIPlus)
.mount('#app')
// 将应用程序实例挂载到页面中
app.mount('#app')
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册