Commit 040d85c9 by 胡锦波

1. init 接入 core-ui

parent 01143797
[submodule "src/core-ui"]
path = src/core-ui
url = git@gitlab.corp.qinqinxiaobao.com:jshq-html/core-ui.git
Subproject commit 4a93bfc8d7a7cf42a0f2156a6d09406666367723
import Vue from 'vue' import Vue from 'vue';
import App from './App.vue' import App from './App.vue';
import router from './router' import router from './router';
Vue.config.productionTip = false Vue.config.productionTip = false;
new Vue({ new Vue({
router, router,
render: h => h(App) render: h => h(App)
}).$mount('#app') }).$mount('#app');
<template>
<div class="about">
<h1>This is an about page</h1>
</div>
</template>
<template>
<div class="home">
<img alt="Vue logo" src="../assets/logo.png">
<HelloWorld msg="Welcome to Your Vue.js + TypeScript App"/>
</div>
</template>
<script lang="ts">
import { Component, Vue } from 'vue-property-decorator'
import HelloWorld from '@/components/HelloWorld.vue' // @ is an alias to /src
@Component({
components: {
HelloWorld
}
})
export default class Home extends Vue {}
</script>
<template>
<div>asidepanels</div>
</template>
<script lang="ts">
import { Component, Vue } from "vue-property-decorator";
@Component({ components: {} })
export default class Asidepanels extends Vue {}
</script>
<style lang="less" scoped>
@import "~@/css/variables.less";
</style>
<template> <template>
<div> <div class="manager-container d-flex">
234 <AsidePanels></AsidePanels>
<router-view></router-view> <router-view></router-view>
</div> </div>
</template> </template>
<script lang="ts"> <script lang="ts">
import { Component, Vue } from "vue-property-decorator"; import { Component, Vue } from "vue-property-decorator";
import AsidePanels from "@/views/pages/aside-panels/aside-panels.vue";
@Component({ components: {} }) @Component({ components: { AsidePanels } })
export default class Main extends Vue {} export default class Main extends Vue {}
</script> </script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment