mirror of
https://github.com/youzan/vant.git
synced 2025-12-24 02:02:09 +08:00
添加doc预览
This commit is contained in:
241
docs/build/1.1.js
vendored
Normal file
241
docs/build/1.1.js
vendored
Normal file
@@ -0,0 +1,241 @@
|
||||
webpackJsonp([1],{
|
||||
|
||||
/***/ 22:
|
||||
/***/ function(module, exports, __webpack_require__) {
|
||||
|
||||
var map = {
|
||||
"./examples/sample.md": 23
|
||||
};
|
||||
function webpackContext(req) {
|
||||
return __webpack_require__(webpackContextResolve(req));
|
||||
};
|
||||
function webpackContextResolve(req) {
|
||||
return map[req] || (function() { throw new Error("Cannot find module '" + req + "'.") }());
|
||||
};
|
||||
webpackContext.keys = function webpackContextKeys() {
|
||||
return Object.keys(map);
|
||||
};
|
||||
webpackContext.resolve = webpackContextResolve;
|
||||
module.exports = webpackContext;
|
||||
webpackContext.id = 22;
|
||||
|
||||
|
||||
/***/ },
|
||||
|
||||
/***/ 23:
|
||||
/***/ function(module, exports, __webpack_require__) {
|
||||
|
||||
module.exports = __webpack_require__(24);
|
||||
|
||||
/***/ },
|
||||
|
||||
/***/ 24:
|
||||
/***/ function(module, exports, __webpack_require__) {
|
||||
|
||||
var __vue_exports__, __vue_options__
|
||||
var __vue_styles__ = {}
|
||||
|
||||
/* script */
|
||||
__vue_exports__ = __webpack_require__(25)
|
||||
|
||||
/* template */
|
||||
var __vue_template__ = __webpack_require__(26)
|
||||
__vue_options__ = __vue_exports__ = __vue_exports__ || {}
|
||||
if (
|
||||
typeof __vue_exports__.default === "object" ||
|
||||
typeof __vue_exports__.default === "function"
|
||||
) {
|
||||
if (Object.keys(__vue_exports__).some(function (key) { return key !== "default" && key !== "__esModule" })) {console.error("named exports are not supported in *.vue files.")}
|
||||
__vue_options__ = __vue_exports__ = __vue_exports__.default
|
||||
}
|
||||
if (typeof __vue_options__ === "function") {
|
||||
__vue_options__ = __vue_options__.options
|
||||
}
|
||||
__vue_options__.__file = "/Users/fenglai/project/oxygen/node_modules/vue-markdown-loader/.cache/sample-1.vue"
|
||||
__vue_options__.render = __vue_template__.render
|
||||
__vue_options__.staticRenderFns = __vue_template__.staticRenderFns
|
||||
|
||||
/* hot reload */
|
||||
if (false) {(function () {
|
||||
var hotAPI = require("vue-loader/node_modules/vue-hot-reload-api")
|
||||
hotAPI.install(require("vue"), false)
|
||||
if (!hotAPI.compatible) return
|
||||
module.hot.accept()
|
||||
if (!module.hot.data) {
|
||||
hotAPI.createRecord("data-v-94b78d06", __vue_options__)
|
||||
} else {
|
||||
hotAPI.reload("data-v-94b78d06", __vue_options__)
|
||||
}
|
||||
})()}
|
||||
if (__vue_options__.functional) {console.error("[vue-loader] sample-1.vue: functional components are not supported and should be defined in plain js files using render functions.")}
|
||||
|
||||
module.exports = __vue_exports__
|
||||
|
||||
|
||||
/***/ },
|
||||
|
||||
/***/ 25:
|
||||
/***/ function(module, exports) {
|
||||
|
||||
'use strict';
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
|
||||
exports.default = {
|
||||
data: function data() {
|
||||
return {
|
||||
author: 'test'
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
/***/ },
|
||||
|
||||
/***/ 26:
|
||||
/***/ function(module, exports, __webpack_require__) {
|
||||
|
||||
module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
|
||||
return _c('section', [_vm._m(0), _vm._v(" "), _vm._m(1), _vm._v(" "), _c('p', [_vm._v("基础的按钮用法。")]), _vm._v(" "), _c('demo-block', {
|
||||
staticClass: "demo-box"
|
||||
}, [_c('div', {
|
||||
staticClass: "source",
|
||||
slot: "source"
|
||||
}, [_c('sample', {
|
||||
attrs: {
|
||||
"author": _vm.author
|
||||
}
|
||||
})], 1), _vm._v(" "), _c('p', [_vm._v("样例代码")]), _vm._v(" "), _c('div', {
|
||||
staticClass: "highlight",
|
||||
slot: "highlight"
|
||||
}, [_c('pre', [_c('code', {
|
||||
staticClass: "hljs language-html"
|
||||
}, [_c('span', {
|
||||
staticClass: "hljs-tag"
|
||||
}, [_vm._v("<"), _c('span', {
|
||||
staticClass: "hljs-name"
|
||||
}, [_vm._v("sample")]), _vm._v(" "), _c('span', {
|
||||
staticClass: "hljs-attr"
|
||||
}, [_vm._v(":author")]), _vm._v("="), _c('span', {
|
||||
staticClass: "hljs-string"
|
||||
}, [_vm._v("\"author\"")]), _vm._v(">")]), _c('span', {
|
||||
staticClass: "hljs-tag"
|
||||
}, [_vm._v("</"), _c('span', {
|
||||
staticClass: "hljs-name"
|
||||
}, [_vm._v("sample")]), _vm._v(">")]), _vm._v("\n")])])])]), _vm._v(" "), _vm._m(2), _vm._v(" "), _vm._m(3)], 1)
|
||||
},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
|
||||
return _c('h2', {
|
||||
attrs: {
|
||||
"id": "sample-zu-jian"
|
||||
}
|
||||
}, [_c('a', {
|
||||
staticClass: "header-anchor",
|
||||
attrs: {
|
||||
"href": "#sample-zu-jian",
|
||||
"aria-hidden": "true"
|
||||
}
|
||||
}, [_vm._v("¶")]), _vm._v(" sample组件")])
|
||||
},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
|
||||
return _c('h3', {
|
||||
attrs: {
|
||||
"id": "ji-chu-yong-fa"
|
||||
}
|
||||
}, [_c('a', {
|
||||
staticClass: "header-anchor",
|
||||
attrs: {
|
||||
"href": "#ji-chu-yong-fa",
|
||||
"aria-hidden": "true"
|
||||
}
|
||||
}, [_vm._v("¶")]), _vm._v(" 基础用法")])
|
||||
},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
|
||||
return _c('h3', {
|
||||
attrs: {
|
||||
"id": "attributes"
|
||||
}
|
||||
}, [_c('a', {
|
||||
staticClass: "header-anchor",
|
||||
attrs: {
|
||||
"href": "#attributes",
|
||||
"aria-hidden": "true"
|
||||
}
|
||||
}, [_vm._v("¶")]), _vm._v(" Attributes")])
|
||||
},function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;
|
||||
return _c('table', {
|
||||
staticClass: "table"
|
||||
}, [_c('thead', [_c('tr', [_c('th', [_vm._v("参数")]), _vm._v(" "), _c('th', [_vm._v("说明")]), _vm._v(" "), _c('th', [_vm._v("类型")]), _vm._v(" "), _c('th', [_vm._v("可选值")]), _vm._v(" "), _c('th', [_vm._v("默认值")])])]), _vm._v(" "), _c('tbody', [_c('tr', [_c('td', [_vm._v("size")]), _vm._v(" "), _c('td', [_vm._v("尺寸")]), _vm._v(" "), _c('td', [_vm._v("string")]), _vm._v(" "), _c('td', [_vm._v("large")]), _vm._v(" "), _c('td', [_vm._v("—")])]), _vm._v(" "), _c('tr', [_c('td', [_vm._v("type")]), _vm._v(" "), _c('td', [_vm._v("类型")]), _vm._v(" "), _c('td', [_vm._v("string")]), _vm._v(" "), _c('td', [_vm._v("primary,warning,text")]), _vm._v(" "), _c('td', [_vm._v("—")])]), _vm._v(" "), _c('tr', [_c('td', [_vm._v("disabled")]), _vm._v(" "), _c('td', [_vm._v("禁用")]), _vm._v(" "), _c('td', [_vm._v("boolean")]), _vm._v(" "), _c('td', [_vm._v("true, false")]), _vm._v(" "), _c('td', [_vm._v("false")])]), _vm._v(" "), _c('tr', [_c('td', [_vm._v("icon")]), _vm._v(" "), _c('td', [_vm._v("图标,已有的图标库中的图标名")]), _vm._v(" "), _c('td', [_vm._v("string")]), _vm._v(" "), _c('td', [_vm._v("—")]), _vm._v(" "), _c('td', [_vm._v("—")])]), _vm._v(" "), _c('tr', [_c('td', [_vm._v("to")]), _vm._v(" "), _c('td', [_vm._v("路由跳转路径")]), _vm._v(" "), _c('td', [_vm._v("Object")]), _vm._v(" "), _c('td', [_vm._v("—")]), _vm._v(" "), _c('td', [_vm._v("—")])])])])
|
||||
}]}
|
||||
module.exports.render._withStripped = true
|
||||
if (false) {
|
||||
module.hot.accept()
|
||||
if (module.hot.data) {
|
||||
require("vue-loader/node_modules/vue-hot-reload-api").rerender("data-v-94b78d06", module.exports)
|
||||
}
|
||||
}
|
||||
|
||||
/***/ }
|
||||
|
||||
});
|
||||
//# sourceMappingURL=1.1.js.map
|
||||
Reference in New Issue
Block a user