tiptap/examples/Components/App/index.vue

39 lines
643 B
Vue
Raw Normal View History

2018-08-22 20:10:44 +08:00
<template>
<div class="page" spellcheck="false">
2018-08-23 01:13:14 +08:00
2018-08-22 20:10:44 +08:00
<navigation />
2018-08-23 01:13:14 +08:00
2018-08-22 20:10:44 +08:00
<div class="page__content">
<router-view />
</div>
2018-08-23 01:13:14 +08:00
2018-08-23 00:23:31 +08:00
<div class="page__footer">
<a class="page__source-link" :href="$route.meta.githubUrl" target="_blank">
<icon name="code" />
<span>
Show Code
</span>
</a>
</div>
2018-08-23 01:13:14 +08:00
<ad />
2018-08-22 20:10:44 +08:00
</div>
</template>
<script>
import Navigation from 'Components/Navigation'
2018-08-23 00:23:31 +08:00
import Icon from 'Components/Icon'
2018-08-23 01:13:14 +08:00
import Ad from 'Components/Ad'
2018-08-22 20:10:44 +08:00
export default {
components: {
Navigation,
2018-08-23 00:23:31 +08:00
Icon,
2018-08-23 01:13:14 +08:00
Ad,
2018-08-22 20:10:44 +08:00
},
}
</script>
<style lang="scss" src="./style.scss"></style>