main layout
This commit is contained in:
parent
62990170de
commit
f1e6e8b8d3
38 changed files with 1353 additions and 20 deletions
|
@ -3,11 +3,19 @@ import { createPinia } from "pinia";
|
|||
|
||||
import App from "./App.vue";
|
||||
import router from "./router";
|
||||
import NProgress from "nprogress";
|
||||
import "../node_modules/nprogress/nprogress.css";
|
||||
|
||||
import { http } from "./serverCom";
|
||||
import "./main.css";
|
||||
|
||||
NProgress.configure({ showSpinner: false });
|
||||
|
||||
const app = createApp(App);
|
||||
|
||||
app.use(createPinia());
|
||||
app.use(router);
|
||||
app.config.globalProperties.$http = http;
|
||||
app.config.globalProperties.$progress = NProgress;
|
||||
|
||||
app.mount("#app");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue