mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-05 19:41:42 +08:00
build docs
This commit is contained in:
parent
9cfc1817e4
commit
7907d5d18b
2
.gitignore
vendored
2
.gitignore
vendored
@ -9,5 +9,5 @@ lib/*
|
|||||||
!lib/style.css
|
!lib/style.css
|
||||||
node_modules
|
node_modules
|
||||||
example/dist
|
example/dist
|
||||||
dist
|
./dist
|
||||||
test/unit/coverage
|
test/unit/coverage
|
||||||
|
@ -28,8 +28,8 @@ module.exports = {
|
|||||||
'zanui-examples': './docs/examples.js'
|
'zanui-examples': './docs/examples.js'
|
||||||
},
|
},
|
||||||
output: {
|
output: {
|
||||||
path: './docs/build/',
|
path: './docs/dist/',
|
||||||
publicPath: '/docs/build/',
|
publicPath: '/docs/dist/',
|
||||||
filename: '[name].js'
|
filename: '[name].js'
|
||||||
},
|
},
|
||||||
resolve: {
|
resolve: {
|
||||||
|
1
docs/dist/0.js
vendored
Normal file
1
docs/dist/0.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
docs/dist/1.js
vendored
Normal file
1
docs/dist/1.js
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
webpackJsonp([1],{270:function(e,t,n){n(509);var i=n(0)(n(286),n(448),null,null);e.exports=i.exports},286:function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(30),a=i(o),s=n(387),r=i(s);t.default={data:function(){return{highlights:[],navState:[],data:a.default["zh-CN"],base:"/component"}},components:{MobileNav:r.default}}},288:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={props:{group:{type:Object,default:function(){return[]}},base:String},data:function(){return{isOpen:!1}}}},340:function(e,t,n){t=e.exports=n(11)(),t.push([e.i,".side-nav{width:100%;box-sizing:border-box;padding:90px 15px 20px;position:relative;z-index:1}.side-nav .zanui-desc,.side-nav .zanui-title{text-align:center;font-weight:400}.side-nav .zanui-title{font-size:26px;color:#333}.side-nav .zanui-desc{font-size:14px;color:#666;margin-bottom:50px}",""])},357:function(e,t,n){t=e.exports=n(11)(),t.push([e.i,".mobile-nav-group{border-radius:2px;margin-bottom:15px;padding-left:20px;background-color:#fff;box-shadow:0 1px 1px 0 rgba(0,0,0,.1)}.mobile-nav-group li{list-style:none}.mobile-nav-group ul{padding:0;margin:0;overflow:hidden}.mobile-nav-group__title{font-size:16px;color:#333;line-height:56px;position:relative}.mobile-nav-group__title a{color:#333;display:block;border-top:1px solid #e5e5e5}.mobile-nav-group__title .zan-icon-arrow{position:absolute;font-size:12px;line-height:1;top:24px;right:20px}.mobile-nav-group__title--open{color:#999}",""])},387:function(e,t,n){n(526);var i=n(0)(n(288),n(470),null,null);e.exports=i.exports},448:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"side-nav"},[n("h1",{staticClass:"zanui-title"},[e._v("Zan UI Wap")]),e._v(" "),n("h2",{staticClass:"zanui-desc"},[e._v("有赞移动wap端组件库")]),e._v(" "),n("div",{staticClass:"mobile-navs"},[e._l(e.data,function(t){return[t.showInMobile?n("div",{staticClass:"mobile-nav-item"},e._l(t.groups,function(t){return n("mobile-nav",{attrs:{group:t,base:e.base}})})):e._e()]})],2)])},staticRenderFns:[]}},470:function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"mobile-nav-group"},[n("div",{staticClass:"mobile-nav-group__title",class:{"mobile-nav-group__title--open":e.isOpen},on:{click:function(t){e.isOpen=!e.isOpen}}},[e._v("\n "+e._s(e.group.groupName)+"\n ")]),e._v(" "),n("ul",{directives:[{name:"show",rawName:"v-show",value:e.isOpen,expression:"isOpen"}],staticClass:"pure-menu-list"},[e._l(e.group.list,function(t){return[t.disabled?e._e():n("li",{staticClass:"mobile-nav-group__title"},[n("router-link",{attrs:{"active-class":"active",to:e.base+t.path},domProps:{textContent:e._s(t.title)}}),e._v(" "),n("zan-icon",{attrs:{name:"arrow"}})],1)]})],2)])},staticRenderFns:[]}},509:function(e,t,n){var i=n(340);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);n(31)("1517d9c0",i,!0)},526:function(e,t,n){var i=n(357);"string"==typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);n(31)("8bcdd7d6",i,!0)}});
|
1
docs/dist/zanui-docs.js
vendored
Normal file
1
docs/dist/zanui-docs.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
docs/dist/zanui-examples.js
vendored
Normal file
1
docs/dist/zanui-examples.js
vendored
Normal file
File diff suppressed because one or more lines are too long
@ -11,6 +11,6 @@
|
|||||||
<app></app>
|
<app></app>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="/docs/build/zanui-examples.js"></script>
|
<script src="/docs/dist/zanui-examples.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -11,6 +11,6 @@
|
|||||||
<app></app>
|
<app></app>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="/docs/build/zanui-docs.js"></script>
|
<script src="/docs/dist/zanui-docs.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user