feat: scaffold cwos-portal bootstrap (main.js, App.vue)

Adds application bootstrap files for Vue 2 + Element UI


Former-commit-id: 588f73060138b2b891fb00c2e70318de4020d026
This commit is contained in:
反编译工作区
2026-04-29 12:55:07 +08:00
parent 7a9dcc43dc
commit fd3ee54135
2 changed files with 34 additions and 0 deletions
@@ -0,0 +1,17 @@
<template>
<div id="app">
<router-view />
</div>
</template>
<script>
export default {
name: 'App',
};
</script>
<style>
#app {
height: 100%;
}
</style>
@@ -0,0 +1,17 @@
import Vue from 'vue';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import App from './App.vue';
import router from './router';
import store from './store';
import axios from 'axios';
Vue.use(ElementUI);
Vue.prototype.$http = axios;
Vue.config.productionTip = false;
new Vue({
router,
store,
render: (h) => h(App),
}).$mount('#app');