From 98ac10745fd7863fa5df6f9e3ddf41d74de65593 Mon Sep 17 00:00:00 2001 From: dntzhang Date: Thu, 14 Mar 2019 15:25:59 +0800 Subject: [PATCH] update site --- site/docs/asset-manifest.json | 16 ++++++++-------- site/docs/index.html | 2 +- site/docs/service-worker.js | 2 +- site/docs/static/js/2.3726ab20.chunk.js | 2 -- site/docs/static/js/2.3726ab20.chunk.js.map | 1 - site/docs/static/js/2.53e9b338.chunk.js | 2 ++ site/docs/static/js/2.53e9b338.chunk.js.map | 1 + site/docs/static/js/5.54d19c4a.chunk.js | 2 ++ site/docs/static/js/5.54d19c4a.chunk.js.map | 1 + site/docs/static/js/5.92b494ad.chunk.js | 2 -- site/docs/static/js/5.92b494ad.chunk.js.map | 1 - .../js/{index.c279f9b2.js => index.1a7ff2ce.js} | 4 ++-- ...dex.c279f9b2.js.map => index.1a7ff2ce.js.map} | 2 +- .../js/{zh-cn.810a4735.js => zh-cn.363cdcf3.js} | 4 ++-- ...-cn.810a4735.js.map => zh-cn.363cdcf3.js.map} | 2 +- site/docs/zh-cn.html | 2 +- site/src/docs/zh-cn/installation.md | 2 +- 17 files changed, 24 insertions(+), 24 deletions(-) delete mode 100644 site/docs/static/js/2.3726ab20.chunk.js delete mode 100644 site/docs/static/js/2.3726ab20.chunk.js.map create mode 100644 site/docs/static/js/2.53e9b338.chunk.js create mode 100644 site/docs/static/js/2.53e9b338.chunk.js.map create mode 100644 site/docs/static/js/5.54d19c4a.chunk.js create mode 100644 site/docs/static/js/5.54d19c4a.chunk.js.map delete mode 100644 site/docs/static/js/5.92b494ad.chunk.js delete mode 100644 site/docs/static/js/5.92b494ad.chunk.js.map rename site/docs/static/js/{index.c279f9b2.js => index.1a7ff2ce.js} (99%) rename site/docs/static/js/{index.c279f9b2.js.map => index.1a7ff2ce.js.map} (99%) rename site/docs/static/js/{zh-cn.810a4735.js => zh-cn.363cdcf3.js} (99%) rename site/docs/static/js/{zh-cn.810a4735.js.map => zh-cn.363cdcf3.js.map} (99%) diff --git a/site/docs/asset-manifest.json b/site/docs/asset-manifest.json index 174b8cce4..25bad0c6d 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.c279f9b2.js", - "index.js.map": "static/js/index.c279f9b2.js.map", + "index.js": "static/js/index.1a7ff2ce.js", + "index.js.map": "static/js/index.1a7ff2ce.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.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/2.53e9b338.chunk.js": "static/js/2.53e9b338.chunk.js", + "static/js/2.53e9b338.chunk.js.map": "static/js/2.53e9b338.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.92b494ad.chunk.js": "static/js/5.92b494ad.chunk.js", - "static/js/5.92b494ad.chunk.js.map": "static/js/5.92b494ad.chunk.js.map", + "static/js/5.54d19c4a.chunk.js": "static/js/5.54d19c4a.chunk.js", + "static/js/5.54d19c4a.chunk.js.map": "static/js/5.54d19c4a.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.810a4735.js", - "zh-cn.js.map": "static/js/zh-cn.810a4735.js.map" + "zh-cn.js": "static/js/zh-cn.363cdcf3.js", + "zh-cn.js.map": "static/js/zh-cn.363cdcf3.js.map" } \ No newline at end of file diff --git a/site/docs/index.html b/site/docs/index.html index 40873ad56..5d10eb3cc 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 1b37b01ca..79e528eea 100644 --- a/site/docs/service-worker.js +++ b/site/docs/service-worker.js @@ -1 +1 @@ -"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 +"use strict";var precacheConfig=[["./index.html","5658d686cdc3a1f3d8fea1b57ce9a572"],["./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.53e9b338.chunk.js","0edcef5d39b44413d042e3ce42f4dbbd"],["./static/js/3.bc63ff79.chunk.js","41ec4f11c9ed226e95c3deff11c61a6c"],["./static/js/4.635588a3.chunk.js","1adef8224b4c9da2e97b1897469300f0"],["./static/js/5.54d19c4a.chunk.js","2e00b04ad1a8c4279885dd453b777cdd"],["./static/js/index.1a7ff2ce.js","2211b0ff6bb706b52b5116303d5c706c"],["./static/js/zh-cn.363cdcf3.js","6bcb81189ea0c9e953a3971c8c6322de"],["./static/media/omi-logo2019.923166c3.svg","923166c362dce831a15c447b19a622f9"],["./zh-cn.html","98a29f4f226c58584e3c2c78115f3a48"]],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 c=new URL(e);return r&&c.pathname.match(r)||(c.search+=(c.search?"&":"")+encodeURIComponent(t)+"="+encodeURIComponent(n)),c.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),c=createCacheKey(r,hashParamName,n,/\.\w{8}\./);return[r.toString(),c]}));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 c="./index.html";!e&&"navigate"===t.request.mode&&isPathWhitelisted(["^(?!\\/__).*"],t.request.url)&&(n=new URL(c,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.3726ab20.chunk.js b/site/docs/static/js/2.3726ab20.chunk.js deleted file mode 100644 index 2620f4d0e..000000000 --- a/site/docs/static/js/2.3726ab20.chunk.js +++ /dev/null @@ -1,2 +0,0 @@ -webpackJsonp([2],{39:function(n,i){n.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/zh-cn/installation.md b/site/src/docs/zh-cn/installation.md index e0909946b..2e2fae6c6 100644 --- a/site/src/docs/zh-cn/installation.md +++ b/site/src/docs/zh-cn/installation.md @@ -94,6 +94,6 @@ $ npm run build # release |TypeScript 模板(omi-cli v3.3.0+)|`omi init-ts my-app`|使用 TypeScript 的模板| |Mobile 模板|`omi init-weui my-app`| 使用 weui 和 omi-router 的模板| |omi-mp 模板(omi-cli v3.0.13+)|`omi init-mp my-app` |使用微信小程序开发 H5| -|MVVM Template(omi-cli v3.0.22+)|`omi init-mvvm my-app` |MVVM 模板| +|MVVM 模板(omi-cli v3.0.22+)|`omi init-mvvm my-app` |MVVM 模板| Cli 自动创建的项目脚手架是基于单页的 create-react-app 改造成多页的,有配置方面的问题可以查看 [create-react-app 用户指南](https://facebook.github.io/create-react-app/docs/getting-started)。 \ No newline at end of file