mirror of
https://gitee.com/mirrors/AllinSSL.git
synced 2026-03-17 03:32:02 +08:00
【初始化】前端工程项目
This commit is contained in:
10
frontend/packages/naive-ui/src/main.ts
Normal file
10
frontend/packages/naive-ui/src/main.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { createApp } from 'vue'
|
||||
// 导入全局样式
|
||||
import './styles/index.css'
|
||||
// 导入根组件
|
||||
import App from './App.vue'
|
||||
|
||||
// 创建 Vue 应用实例
|
||||
const app = createApp(App)
|
||||
// 挂载应用到 DOM
|
||||
app.mount('#app')
|
||||
Reference in New Issue
Block a user