build: add files of vant-cli 2

This commit is contained in:
陈嘉涵
2019-11-18 16:27:12 +08:00
parent 28e2849087
commit 6514b650d0
46 changed files with 12125 additions and 249 deletions

View File

@@ -0,0 +1,32 @@
<template>
<div class="app">
<van-doc :config="config" :simulator="simulator">
<router-view />
</van-doc>
</div>
</template>
<script>
import { config } from '../../dist/desktop-config';
export default {
data() {
return {
config,
simulator: `mobile.html${location.hash}`
};
}
};
</script>
<style lang="less">
.van-doc-intro {
padding-top: 20px;
font-family: "Dosis", "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
text-align: center;
p {
margin-bottom: 20px;
}
}
</style>