diff --git a/site/docs/asset-manifest.json b/site/docs/asset-manifest.json index 0c7eea819..174b8cce4 100644 --- a/site/docs/asset-manifest.json +++ b/site/docs/asset-manifest.json @@ -1,23 +1,23 @@ { "index.css": "static/css/index.fb9dfd08.css", "index.css.map": "static/css/index.fb9dfd08.css.map", - "index.js": "static/js/index.7df67057.js", - "index.js.map": "static/js/index.7df67057.js.map", + "index.js": "static/js/index.c279f9b2.js", + "index.js.map": "static/js/index.c279f9b2.js.map", "static/js/0.71055f5f.chunk.js": "static/js/0.71055f5f.chunk.js", "static/js/0.71055f5f.chunk.js.map": "static/js/0.71055f5f.chunk.js.map", "static/js/1.edfde54e.chunk.js": "static/js/1.edfde54e.chunk.js", "static/js/1.edfde54e.chunk.js.map": "static/js/1.edfde54e.chunk.js.map", - "static/js/2.ee3da00b.chunk.js": "static/js/2.ee3da00b.chunk.js", - "static/js/2.ee3da00b.chunk.js.map": "static/js/2.ee3da00b.chunk.js.map", + "static/js/2.3726ab20.chunk.js": "static/js/2.3726ab20.chunk.js", + "static/js/2.3726ab20.chunk.js.map": "static/js/2.3726ab20.chunk.js.map", "static/js/3.bc63ff79.chunk.js": "static/js/3.bc63ff79.chunk.js", "static/js/3.bc63ff79.chunk.js.map": "static/js/3.bc63ff79.chunk.js.map", "static/js/4.635588a3.chunk.js": "static/js/4.635588a3.chunk.js", "static/js/4.635588a3.chunk.js.map": "static/js/4.635588a3.chunk.js.map", - "static/js/5.908517e3.chunk.js": "static/js/5.908517e3.chunk.js", - "static/js/5.908517e3.chunk.js.map": "static/js/5.908517e3.chunk.js.map", + "static/js/5.92b494ad.chunk.js": "static/js/5.92b494ad.chunk.js", + "static/js/5.92b494ad.chunk.js.map": "static/js/5.92b494ad.chunk.js.map", "static/media/omi-logo2019.svg": "static/media/omi-logo2019.923166c3.svg", "zh-cn.css": "static/css/zh-cn.fb9dfd08.css", "zh-cn.css.map": "static/css/zh-cn.fb9dfd08.css.map", - "zh-cn.js": "static/js/zh-cn.b330abc4.js", - "zh-cn.js.map": "static/js/zh-cn.b330abc4.js.map" + "zh-cn.js": "static/js/zh-cn.810a4735.js", + "zh-cn.js.map": "static/js/zh-cn.810a4735.js.map" } \ No newline at end of file diff --git a/site/docs/index.html b/site/docs/index.html index 5589ef0a0..40873ad56 100644 --- a/site/docs/index.html +++ b/site/docs/index.html @@ -1 +1 @@ -Omi - Next Front End Framework
\ No newline at end of file +Omi - Next Front End Framework
\ No newline at end of file diff --git a/site/docs/service-worker.js b/site/docs/service-worker.js index a985b9bd9..1b37b01ca 100644 --- a/site/docs/service-worker.js +++ b/site/docs/service-worker.js @@ -1 +1 @@ -"use strict";var precacheConfig=[["./index.html","c89b4b205f6347955a4ddce571c3f056"],["./static/css/index.fb9dfd08.css","414d16d757eb45e170251798229d649f"],["./static/css/zh-cn.fb9dfd08.css","883ead47d8089ccadb7dbbac075871ff"],["./static/js/0.71055f5f.chunk.js","b70268dceb695407c31fdd8f2a041a65"],["./static/js/1.edfde54e.chunk.js","b4ea7a30d922871dd55670f8170bd7d9"],["./static/js/2.ee3da00b.chunk.js","3b3a28b137466d3210daf05f90acd9a8"],["./static/js/3.bc63ff79.chunk.js","41ec4f11c9ed226e95c3deff11c61a6c"],["./static/js/4.635588a3.chunk.js","1adef8224b4c9da2e97b1897469300f0"],["./static/js/5.908517e3.chunk.js","79f39be1bc501aa8c04ba33a10a12d1f"],["./static/js/index.7df67057.js","b461bf85ead88a8d8393ba4acb1492f3"],["./static/js/zh-cn.b330abc4.js","65ad7d6b7f64b1189f1b422fdbf5bdd0"],["./static/media/omi-logo2019.923166c3.svg","923166c362dce831a15c447b19a622f9"],["./zh-cn.html","63513f43aaf9c04edef0d97fcf9e425f"]],cacheName="sw-precache-v3-sw-precache-webpack-plugin-"+(self.registration?self.registration.scope:""),ignoreUrlParametersMatching=[/^utm_/],addDirectoryIndex=function(e,t){var n=new URL(e);return"/"===n.pathname.slice(-1)&&(n.pathname+=t),n.toString()},cleanResponse=function(t){return t.redirected?("body"in t?Promise.resolve(t.body):t.blob()).then(function(e){return new Response(e,{headers:t.headers,status:t.status,statusText:t.statusText})}):Promise.resolve(t)},createCacheKey=function(e,t,n,a){var r=new URL(e);return a&&r.pathname.match(a)||(r.search+=(r.search?"&":"")+encodeURIComponent(t)+"="+encodeURIComponent(n)),r.toString()},isPathWhitelisted=function(e,t){if(0===e.length)return!0;var n=new URL(t).pathname;return e.some(function(e){return n.match(e)})},stripIgnoredUrlParameters=function(e,n){var t=new URL(e);return t.hash="",t.search=t.search.slice(1).split("&").map(function(e){return e.split("=")}).filter(function(t){return n.every(function(e){return!e.test(t[0])})}).map(function(e){return e.join("=")}).join("&"),t.toString()},hashParamName="_sw-precache",urlsToCacheKeys=new Map(precacheConfig.map(function(e){var t=e[0],n=e[1],a=new URL(t,self.location),r=createCacheKey(a,hashParamName,n,/\.\w{8}\./);return[a.toString(),r]}));function setOfCachedUrls(e){return e.keys().then(function(e){return e.map(function(e){return e.url})}).then(function(e){return new Set(e)})}self.addEventListener("install",function(e){e.waitUntil(caches.open(cacheName).then(function(a){return setOfCachedUrls(a).then(function(n){return Promise.all(Array.from(urlsToCacheKeys.values()).map(function(t){if(!n.has(t)){var e=new Request(t,{credentials:"same-origin"});return fetch(e).then(function(e){if(!e.ok)throw new Error("Request for "+t+" returned a response with status "+e.status);return cleanResponse(e).then(function(e){return a.put(t,e)})})}}))})}).then(function(){return self.skipWaiting()}))}),self.addEventListener("activate",function(e){var n=new Set(urlsToCacheKeys.values());e.waitUntil(caches.open(cacheName).then(function(t){return t.keys().then(function(e){return Promise.all(e.map(function(e){if(!n.has(e.url))return t.delete(e)}))})}).then(function(){return self.clients.claim()}))}),self.addEventListener("fetch",function(t){if("GET"===t.request.method){var e,n=stripIgnoredUrlParameters(t.request.url,ignoreUrlParametersMatching),a="index.html";(e=urlsToCacheKeys.has(n))||(n=addDirectoryIndex(n,a),e=urlsToCacheKeys.has(n));var r="./index.html";!e&&"navigate"===t.request.mode&&isPathWhitelisted(["^(?!\\/__).*"],t.request.url)&&(n=new URL(r,self.location).toString(),e=urlsToCacheKeys.has(n)),e&&t.respondWith(caches.open(cacheName).then(function(e){return e.match(urlsToCacheKeys.get(n)).then(function(e){if(e)return e;throw Error("The cached response that was expected is missing.")})}).catch(function(e){return console.warn('Couldn\'t serve response for "%s" from cache: %O',t.request.url,e),fetch(t.request)}))}}); \ No newline at end of file +"use strict";var precacheConfig=[["./index.html","55effa06eb78d3faea35cd68d093e686"],["./static/css/index.fb9dfd08.css","414d16d757eb45e170251798229d649f"],["./static/css/zh-cn.fb9dfd08.css","883ead47d8089ccadb7dbbac075871ff"],["./static/js/0.71055f5f.chunk.js","b70268dceb695407c31fdd8f2a041a65"],["./static/js/1.edfde54e.chunk.js","b4ea7a30d922871dd55670f8170bd7d9"],["./static/js/2.3726ab20.chunk.js","2665980cc858cc6c8ca5a9d9fac0d8eb"],["./static/js/3.bc63ff79.chunk.js","41ec4f11c9ed226e95c3deff11c61a6c"],["./static/js/4.635588a3.chunk.js","1adef8224b4c9da2e97b1897469300f0"],["./static/js/5.92b494ad.chunk.js","ac4359af23be3232074cdd28e92b4740"],["./static/js/index.c279f9b2.js","8d3c71c082d44ad4742d61e533bc7874"],["./static/js/zh-cn.810a4735.js","f80ec2f696e5b273be7d8167ed2a06f7"],["./static/media/omi-logo2019.923166c3.svg","923166c362dce831a15c447b19a622f9"],["./zh-cn.html","d669723f618be7627091ca54ede26c26"]],cacheName="sw-precache-v3-sw-precache-webpack-plugin-"+(self.registration?self.registration.scope:""),ignoreUrlParametersMatching=[/^utm_/],addDirectoryIndex=function(e,t){var n=new URL(e);return"/"===n.pathname.slice(-1)&&(n.pathname+=t),n.toString()},cleanResponse=function(t){return t.redirected?("body"in t?Promise.resolve(t.body):t.blob()).then(function(e){return new Response(e,{headers:t.headers,status:t.status,statusText:t.statusText})}):Promise.resolve(t)},createCacheKey=function(e,t,n,r){var a=new URL(e);return r&&a.pathname.match(r)||(a.search+=(a.search?"&":"")+encodeURIComponent(t)+"="+encodeURIComponent(n)),a.toString()},isPathWhitelisted=function(e,t){if(0===e.length)return!0;var n=new URL(t).pathname;return e.some(function(e){return n.match(e)})},stripIgnoredUrlParameters=function(e,n){var t=new URL(e);return t.hash="",t.search=t.search.slice(1).split("&").map(function(e){return e.split("=")}).filter(function(t){return n.every(function(e){return!e.test(t[0])})}).map(function(e){return e.join("=")}).join("&"),t.toString()},hashParamName="_sw-precache",urlsToCacheKeys=new Map(precacheConfig.map(function(e){var t=e[0],n=e[1],r=new URL(t,self.location),a=createCacheKey(r,hashParamName,n,/\.\w{8}\./);return[r.toString(),a]}));function setOfCachedUrls(e){return e.keys().then(function(e){return e.map(function(e){return e.url})}).then(function(e){return new Set(e)})}self.addEventListener("install",function(e){e.waitUntil(caches.open(cacheName).then(function(r){return setOfCachedUrls(r).then(function(n){return Promise.all(Array.from(urlsToCacheKeys.values()).map(function(t){if(!n.has(t)){var e=new Request(t,{credentials:"same-origin"});return fetch(e).then(function(e){if(!e.ok)throw new Error("Request for "+t+" returned a response with status "+e.status);return cleanResponse(e).then(function(e){return r.put(t,e)})})}}))})}).then(function(){return self.skipWaiting()}))}),self.addEventListener("activate",function(e){var n=new Set(urlsToCacheKeys.values());e.waitUntil(caches.open(cacheName).then(function(t){return t.keys().then(function(e){return Promise.all(e.map(function(e){if(!n.has(e.url))return t.delete(e)}))})}).then(function(){return self.clients.claim()}))}),self.addEventListener("fetch",function(t){if("GET"===t.request.method){var e,n=stripIgnoredUrlParameters(t.request.url,ignoreUrlParametersMatching),r="index.html";(e=urlsToCacheKeys.has(n))||(n=addDirectoryIndex(n,r),e=urlsToCacheKeys.has(n));var a="./index.html";!e&&"navigate"===t.request.mode&&isPathWhitelisted(["^(?!\\/__).*"],t.request.url)&&(n=new URL(a,self.location).toString(),e=urlsToCacheKeys.has(n)),e&&t.respondWith(caches.open(cacheName).then(function(e){return e.match(urlsToCacheKeys.get(n)).then(function(e){if(e)return e;throw Error("The cached response that was expected is missing.")})}).catch(function(e){return console.warn('Couldn\'t serve response for "%s" from cache: %O',t.request.url,e),fetch(t.request)}))}}); \ No newline at end of file diff --git a/site/docs/static/js/2.ee3da00b.chunk.js b/site/docs/static/js/2.3726ab20.chunk.js similarity index 82% rename from site/docs/static/js/2.ee3da00b.chunk.js rename to site/docs/static/js/2.3726ab20.chunk.js index 98db27653..2620f4d0e 100644 --- a/site/docs/static/js/2.ee3da00b.chunk.js +++ b/site/docs/static/js/2.3726ab20.chunk.js @@ -1,2 +1,2 @@ -webpackJsonp([2],{39:function(i,n){i.exports='## \u5b89\u88c5 \n\n\u76f4\u63a5\u4e0b\u8f7d\u5e76\u7528 `
\ No newline at end of file +Omi - Next Front End Framework
\ No newline at end of file diff --git a/site/src/docs/en/installation.md b/site/src/docs/en/installation.md index a78f042f4..7d7db2a08 100644 --- a/site/src/docs/en/installation.md +++ b/site/src/docs/en/installation.md @@ -91,6 +91,5 @@ In mac os: |Mobile Template|`omi init-weui my-app`| Mobile web app template with weui and omi-router.| |omi-mp Template(omi-cli v3.0.13+)|`omi init-mp my-app` |Developing web with mini program template.| |MVVM Template(omi-cli v3.0.22+)|`omi init-mvvm my-app` |MVVM template.| - CLI's auto-created project scaffolding is based on a single-page create-react-app to be converted into a multi-page one, with configuration issues to see [create-react-app user guide](https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md) \ No newline at end of file diff --git a/site/src/docs/zh-cn/installation.md b/site/src/docs/zh-cn/installation.md index 0ab769f09..98140c032 100644 --- a/site/src/docs/zh-cn/installation.md +++ b/site/src/docs/zh-cn/installation.md @@ -91,6 +91,5 @@ In mac os: |Mobile Template|`omi init-weui my-app`| Mobile web app template with weui and omi-router.| |omi-mp Template(omi-cli v3.0.13+)|`omi init-mp my-app` |Developing web with mini program template.| |MVVM Template(omi-cli v3.0.22+)|`omi init-mvvm my-app` |MVVM template.| - CLI's auto-created project scaffolding is based on a single-page create-react-app to be converted into a multi-page one, with configuration issues to see [create-react-app user guide](https://github.com/facebook/create-react-app/blob/master/packages/react-scripts/template/README.md) \ No newline at end of file