vue生态依赖更新

This commit is contained in:
2023-08-01 15:58:34 +08:00
parent fd4dd1bf88
commit 40008c2c68
14 changed files with 1930 additions and 1159 deletions

View File

@@ -3,20 +3,20 @@
* @Version: 2.0
* @Author: Ruin 🍭
* @Date: 2022-01-25 16:22:24
* @LastEditors: 刘引
* @LastEditTime: 2022-07-26 16:58:53
* @LastEditors: 刘引 liu.yin.work@foxmail.com
* @LastEditTime: 2023-08-01 15:54:28
*/
import { createApp } from "vue";
import router from "./router/index"; //引入vue-router
import store from "./store/index";
import App from "./App.vue";
import {createPinia} from 'pinia'
// import
import "normalize.css/normalize.css";
const app = createApp(App);
const pinia = createPinia()
app.use(router); // 挂载到app上
app.use(store); // 挂载到app上
app.use(pinia)
app.mount("#app");
import { createApp } from 'vue'
import router from './router/index' //引入vue-router
import App from './App.vue'
import { createPinia } from 'pinia'
import Footer from '@/components/Footer.vue'
import Header from '@/components/Header.vue'
import 'normalize.css/normalize.css'
// 挂载到app上
createApp(App)
.use(router)
.use(createPinia())
.component('Footer', Footer)
.component('Header', Header)
.mount('#app')