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

56 lines
2.1 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([
[29],
{
399: function(t, n, e) {
'use strict';
e.r(n);
var o = e(42),
r = Object(o.a)(
{},
function() {
var t = this,
n = t.$createElement,
e = t._self._c || n;
return e('ContentSlotsDistributor', { attrs: { 'slot-key': t.$parent.slotKey } }, [
e('h1', { attrs: { id: '保存json' } }, [
e('a', { staticClass: 'header-anchor', attrs: { href: '#保存json' } }, [t._v('#')]),
t._v(' 保存json'),
]),
t._v(' '),
e('p', [
t._v(
'我们配置好H5页面之后如果希望其他人观看我们可以保存页面并发送链接。但是如果有多人协作的需求比如一个H5页面可能由多个人完成这个时候该怎么实现呢基于已有的方案我们可以采用socket实现多人协同编辑但是成本比较大所有这里我们提供了保存json的功能。',
),
]),
t._v(' '),
e('p', [
t._v(
'我们可以将配置好的页面导出为json发送给另一个人这样另一个人通过导入该json文件可以实时看到当前的页面这里还是依靠我们的页面渲染引擎viewEngine。实现思路也很简单可以在github[',
),
e(
'a',
{
attrs: {
href: 'https://github.com/MrXujiang/h5-Dooring',
target: '_blank',
rel: 'noopener noreferrer',
},
},
[t._v('https://github.com/MrXujiang/h5-Dooring'), e('OutboundLink')],
1,
),
t._v(']上参考体验。'),
]),
]);
},
[],
!1,
null,
null,
null,
);
n.default = r.exports;
},
},
]);