Files
vue-learning/入门/cli/hello-router/src/main.js

26 lines
724 B
JavaScript
Raw Normal View History

2022-11-24 01:54:33 +08:00
/*
* @Author: Kane
2022-11-25 18:07:05 +08:00
* @Date: 2022-11-24 09:08:41
2022-11-24 01:54:33 +08:00
* @LastEditors: Kane
2022-11-25 18:07:05 +08:00
* @LastEditTime: 2022-11-25 16:22:52
2022-11-24 01:54:33 +08:00
* @FilePath: \hello-router\src\main.js
* @Description:
*
* Copyright (c) ${2022} by Kane, All Rights Reserved.
*/
import { createApp } from "vue";
2022-11-25 18:07:05 +08:00
// import { createRouter, createWebHashHistory } from "vue-router";
//引入组件
2022-11-24 01:54:33 +08:00
import App from "./App.vue";
2022-11-25 18:07:05 +08:00
// import { Header } from "./components/页面组件/Header.vue";
// import { Main } from "./components/页面组件/Main.vue";
// import { demo1 } from "./components/功能页面/demo-1.vue";
// import { demo2 } from "./components/功能页面/demo-2.vue";
2022-11-24 01:54:33 +08:00
const app = createApp(App);
2022-11-25 18:07:05 +08:00
// const routes = [
// {path}
// ];
2022-11-24 01:54:33 +08:00
app.mount("#app");