2025-04-24 13:39:24 +08:00
|
|
|
import { createApp } from 'vue'
|
2025-05-15 21:24:56 +08:00
|
|
|
import { createPinia } from 'pinia'
|
|
|
|
|
import Antd from 'ant-design-vue'
|
2025-04-24 13:39:24 +08:00
|
|
|
import './style.css'
|
|
|
|
|
import App from './App.vue'
|
2025-05-15 21:24:56 +08:00
|
|
|
// 注册路由
|
|
|
|
|
import router from './router'
|
2025-06-10 17:03:02 +08:00
|
|
|
import '@fortawesome/fontawesome-free/css/all.min.css';
|
|
|
|
|
import AOS from 'aos'
|
|
|
|
|
import 'aos/dist/aos.css'
|
2025-04-24 13:39:24 +08:00
|
|
|
|
2025-05-15 21:24:56 +08:00
|
|
|
const app = createApp(App)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 注册Ant Design组件
|
|
|
|
|
app.use(createPinia())
|
|
|
|
|
app.use(router)
|
|
|
|
|
app.use(Antd)
|
2025-06-10 17:03:02 +08:00
|
|
|
app.use(AOS.init({
|
|
|
|
|
duration: 800,
|
|
|
|
|
offset: 100,
|
|
|
|
|
easing: 'ease-in-out',
|
|
|
|
|
once: true
|
|
|
|
|
}))
|
2025-05-15 21:24:56 +08:00
|
|
|
app.mount('#app')
|