md/src/App.vue
yanglbme 95b5ce7bb4 feat: update code style and todo list
* 更新代码样式和待办清单
2020-06-25 20:59:10 +08:00

31 lines
517 B
Vue

<template>
<loading v-if="loading" />
<codemirror-editor v-else />
</template>
<script>
import Loading from './components/Loading'
import CodemirrorEditor from './view/CodemirrorEditor'
export default {
name: 'App',
components: {
Loading,
CodemirrorEditor
},
data() {
return {
loading: true
}
},
mounted() {
setTimeout(() => {
this.loading = false
}, 200)
}
}
</script>
<style lang="scss" scoped>
</style>