h5-Dooring/doc-dist/assets/js/16.1b7e6603.js
2021-05-13 21:56:54 +08:00

116 lines
4.3 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window.webpackJsonp = window.webpackJsonp || []).push([
[16],
{
369: function(t, a, r) {
t.exports = r.p + 'assets/img/home.f76105db.png';
},
403: function(t, a, r) {
'use strict';
r.r(a);
var e = r(42),
s = Object(e.a)(
{},
function() {
var t = this,
a = t.$createElement,
e = t._self._c || a;
return e('ContentSlotsDistributor', { attrs: { 'slot-key': t.$parent.slotKey } }, [
e('h1', { attrs: { id: '快速上手' } }, [
e('a', { staticClass: 'header-anchor', attrs: { href: '#快速上手' } }, [t._v('#')]),
t._v(' 快速上手'),
]),
t._v(' '),
e('h2', { attrs: { id: '从零搭建一个h5表单页面' } }, [
e(
'a',
{ staticClass: 'header-anchor', attrs: { href: '#从零搭建一个h5表单页面' } },
[t._v('#')],
),
t._v(' 从零搭建一个H5表单页面'),
]),
t._v(' '),
e('iframe', {
staticStyle: { width: '100%', height: '420px', 'margin-top': '20px' },
attrs: {
src:
'//player.bilibili.com/player.html?aid=715343955&bvid=BV1QQ4y1Z725&cid=332145157&page=1',
scrolling: 'no',
border: '0',
frameborder: 'no',
framespacing: '0',
allowfullscreen: 'true',
},
}),
t._v(' '),
e('h2', { attrs: { id: '环境准备' } }, [
e('a', { staticClass: 'header-anchor', attrs: { href: '#环境准备' } }, [t._v('#')]),
t._v(' 环境准备'),
]),
t._v(' '),
e('p', [
t._v('首先得有 node并确保 node 版本是 '),
e('code', [t._v('10.13')]),
t._v(' 或以上mac/win 下推荐使用 n 来管理 node 版本)'),
]),
t._v(' '),
e('div', { staticClass: 'language- extra-class' }, [
e('pre', { pre: !0, attrs: { class: 'language-text' } }, [
e('code', [t._v('$ node-v\nv10.13.0\n')]),
]),
]),
e('p', [t._v('注:推荐使用 yarn 管理 npm 依赖')]),
t._v(' '),
e('h2', { attrs: { id: '源码工程' } }, [
e('a', { staticClass: 'header-anchor', attrs: { href: '#源码工程' } }, [t._v('#')]),
t._v(' 源码工程'),
]),
t._v(' '),
e('table', [
e('thead', [
e('tr', [
e('th', [t._v('h5_plus(编辑器项目)')]),
t._v(' '),
e('th', [t._v('admin(管理后台)')]),
t._v(' '),
e('th', [t._v('Server(服务端项目)')]),
]),
]),
t._v(' '),
e('tbody'),
]),
t._v(' '),
e('p', [
t._v(
'本地拿到源码工程之后先安装对应依赖,在对应工程目录里执行 yarn 命令,等待依赖安装完成。',
),
]),
t._v(' '),
e('h2', { attrs: { id: '本地运行' } }, [
e('a', { staticClass: 'header-anchor', attrs: { href: '#本地运行' } }, [t._v('#')]),
t._v(' 本地运行'),
]),
t._v(' '),
e('p', [
t._v(
'1.首先本地启动 server在 src 目录的 index.js 中修改跨域白名单,改为本地的 ip+端口如http://192.167.0.3:8000',
),
]),
t._v(' '),
e('p', [
t._v('2.其次本地启动 h5_plus,启动完毕在浏览器打开对应的启动地址即可查看,如下:'),
]),
t._v(' '),
e('img', { attrs: { src: r(369), alt: 'foo' } }),
]);
},
[],
!1,
null,
null,
null,
);
a.default = s.exports;
},
},
]);