mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 18:54:24 +00:00
build: add files of vant-cli 2
This commit is contained in:
34
packages/vant-cli/site/mobile/App.vue
Normal file
34
packages/vant-cli/site/mobile/App.vue
Normal file
@@ -0,0 +1,34 @@
|
||||
<template>
|
||||
<div>
|
||||
<nav-bar />
|
||||
<keep-alive>
|
||||
<router-view />
|
||||
</keep-alive>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import DemoNav from './components/DemoNav';
|
||||
|
||||
export default {
|
||||
components: {
|
||||
DemoNav
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="less">
|
||||
body {
|
||||
min-width: 100vw;
|
||||
color: #323233;
|
||||
font-family: 'PingFang SC', Helvetica, Tohoma, Arial, sans-serif;
|
||||
line-height: 1;
|
||||
background-color: #f8f8f8;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar {
|
||||
width: 0;
|
||||
background: transparent;
|
||||
}
|
||||
</style>
|
Reference in New Issue
Block a user