diff --git a/README.CN.md b/README.CN.md index d3537da96..772a4436c 100644 --- a/README.CN.md +++ b/README.CN.md @@ -425,6 +425,7 @@ $ npm run build # release | ------------ | -----------| ----------------- | |基础模板(v3.3.0+)|`omi init my-app`| 基础模板,支持 omi 和 omio(IE8+)| |小程序模板(v3.3.5+)|`omi init-p my-app`| Omi 开发小程序 | +|基础模板(v3.3.9+)|`omi init-o my-app`| 支持 IE8 的基础模板,只是 build 的时候支持 IE8,开发调试请用 IE9| |支持预渲染快照骨架的模板|`omi init-snap my-app`| 基础模板,支持 omi 和 omio(IE8+),内置预渲染| |TypeScript Template(omi-cli v3.3.0+)|`omi init-ts my-app`|使用 TypeScript 的模板| |Mobile Template|`omi init-weui my-app`| 使用了 weui 和 omi-router 的移动 web app 模板| diff --git a/README.md b/README.md index 8933725db..5705fed81 100644 --- a/README.md +++ b/README.md @@ -429,6 +429,7 @@ $ npm run build # release | ------------ | -----------| ----------------- | |基础模板(v3.3.0+)|`omi init my-app`| 基础模板,支持 omi 和 omio(IE8+)| |小程序模板(v3.3.5+)|`omi init-p my-app`| Omi 开发小程序 | +|基础模板(v3.3.9+)|`omi init-o my-app`| 支持 IE8 的基础模板,只是 build 的时候支持 IE8,开发调试请用 IE9| |支持预渲染快照骨架的模板|`omi init-snap my-app`| 基础模板,支持 omi 和 omio(IE8+),内置预渲染| |TypeScript Template(omi-cli v3.3.0+)|`omi init-ts my-app`|使用 TypeScript 的模板| |Mobile Template|`omi init-weui my-app`| 使用了 weui 和 omi-router 的移动 web app 模板| diff --git a/packages/omi-cli/README.md b/packages/omi-cli/README.md index f97c0ab10..06e93f92d 100644 --- a/packages/omi-cli/README.md +++ b/packages/omi-cli/README.md @@ -30,6 +30,7 @@ Directory description: | ------------ | -----------| ----------------- | |Base Template(v3.3.0+)|`omi init my-app`| Basic omi or omio(IE8+) project template.| |小程序模板(v3.3.5+)|`omi init-p my-app`| Omi 开发小程序 | +|基础模板(v3.3.9+)|`omi init-o my-app`| 支持 IE8 的基础模板,只是 build 的时候支持 IE8,开发调试请用 IE9| |Base Template with snapshoot|`omi init-snap my-app`| Basic omi or omio(IE8+) project template with snapshoot prerendering.| |TypeScript Template(omi-cli v3.3.0+)|`omi init-ts my-app`|Basic template with typescript.| |Mobile Template|`omi init-weui my-app`| Mobile web app template with weui and omi-router.| diff --git a/site/docs/asset-manifest.json b/site/docs/asset-manifest.json index daacd1f2f..27d4de9f9 100644 --- a/site/docs/asset-manifest.json +++ b/site/docs/asset-manifest.json @@ -1,12 +1,12 @@ { "cn.css": "static/css/cn.fb9dfd08.css", "cn.css.map": "static/css/cn.fb9dfd08.css.map", - "cn.js": "static/js/cn.28979a02.js", - "cn.js.map": "static/js/cn.28979a02.js.map", + "cn.js": "static/js/cn.95d85f8b.js", + "cn.js.map": "static/js/cn.95d85f8b.js.map", "index.css": "static/css/index.fb9dfd08.css", "index.css.map": "static/css/index.fb9dfd08.css.map", - "index.js": "static/js/index.992eacab.js", - "index.js.map": "static/js/index.992eacab.js.map", + "index.js": "static/js/index.de5d5370.js", + "index.js.map": "static/js/index.de5d5370.js.map", "static/js/0.e3965535.chunk.js": "static/js/0.e3965535.chunk.js", "static/js/0.e3965535.chunk.js.map": "static/js/0.e3965535.chunk.js.map", "static/js/1.c2f38371.chunk.js": "static/js/1.c2f38371.chunk.js", @@ -47,7 +47,7 @@ "static/js/7.76f313f2.chunk.js.map": "static/js/7.76f313f2.chunk.js.map", "static/js/8.6eb3e8e2.chunk.js": "static/js/8.6eb3e8e2.chunk.js", "static/js/8.6eb3e8e2.chunk.js.map": "static/js/8.6eb3e8e2.chunk.js.map", - "static/js/9.bd7d4954.chunk.js": "static/js/9.bd7d4954.chunk.js", - "static/js/9.bd7d4954.chunk.js.map": "static/js/9.bd7d4954.chunk.js.map", + "static/js/9.abd21dd1.chunk.js": "static/js/9.abd21dd1.chunk.js", + "static/js/9.abd21dd1.chunk.js.map": "static/js/9.abd21dd1.chunk.js.map", "static/media/omi-logo2019.svg": "static/media/omi-logo2019.923166c3.svg" } \ No newline at end of file diff --git a/site/docs/cn.html b/site/docs/cn.html index 57131816d..9c606c745 100644 --- a/site/docs/cn.html +++ b/site/docs/cn.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/index.html b/site/docs/index.html index 52d18f206..09f636d0c 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 76cf95212..1d6e82a5c 100644 --- a/site/docs/service-worker.js +++ b/site/docs/service-worker.js @@ -1 +1 @@ -"use strict";var precacheConfig=[["./cn.html","d6b2700ad6f9c99318530705cc9062b4"],["./index.html","3d5571c9a2ba987f22342d20d6642f91"],["./static/css/cn.fb9dfd08.css","956b8f005795c2569d823cddbc15d24c"],["./static/css/index.fb9dfd08.css","414d16d757eb45e170251798229d649f"],["./static/js/0.e3965535.chunk.js","e4fc6004690821e1d40096697d96b97d"],["./static/js/1.c2f38371.chunk.js","8f2eb049de8e98d53979270834d56865"],["./static/js/10.1391c26b.chunk.js","a35ee0d4366392c76ba7d6be3e3bfb1a"],["./static/js/11.b280160e.chunk.js","cd94fa7a0f5158f592416e1679646b7d"],["./static/js/12.d0047431.chunk.js","e8025284f48d7f3e72e1d78f9710230c"],["./static/js/13.68d709fd.chunk.js","63f8e9359c30f7102ac34e31a84df147"],["./static/js/14.7bf0869f.chunk.js","3e9527525e028de4a089bd4d69b40608"],["./static/js/15.659d6674.chunk.js","f5ba5c031dacf1ab3e69ed6c4d1d3ece"],["./static/js/16.01976d1e.chunk.js","0afac8e1cb8dc5b2520ee49d6e6af036"],["./static/js/17.b7dc499e.chunk.js","4cd6b4eaf321b0897d3faf812e29689a"],["./static/js/18.b0ebd3fc.chunk.js","b2a96f2e5903d02a0d1c66f2c8f7adf5"],["./static/js/19.bb4b6010.chunk.js","e60fa948cbf1da0e57095582315380b6"],["./static/js/2.b49c7338.chunk.js","9ecf5daf817c166fa1f90d970840ed3e"],["./static/js/20.0cf55312.chunk.js","90871f4d2264ae0fde7eaee3c2b0e773"],["./static/js/3.df2dd208.chunk.js","8b65af8a9d3efbe5425ed6b87b92773c"],["./static/js/4.63b41871.chunk.js","d326332805b9f5d64874a2b6ec241a3e"],["./static/js/5.f5d7afbb.chunk.js","f12c6c5c71d87696007a8639248b8f20"],["./static/js/6.f2dce616.chunk.js","a0938d5c861afabc033e1ec8618c7977"],["./static/js/7.76f313f2.chunk.js","d94a3aee2202649ddaeea2170131f2c8"],["./static/js/8.6eb3e8e2.chunk.js","2e515cfff4a40ae9a2f89097d018e135"],["./static/js/9.bd7d4954.chunk.js","78caf75ef0aa96f11f41ff27a36cc709"],["./static/js/cn.28979a02.js","89414436a9e14df4a3a06f2d6bd7a1e8"],["./static/js/index.992eacab.js","48e02d63406bdc28b66367310e2484f7"],["./static/media/omi-logo2019.923166c3.svg","923166c362dce831a15c447b19a622f9"]],cacheName="sw-precache-v3-sw-precache-webpack-plugin-"+(self.registration?self.registration.scope:""),ignoreUrlParametersMatching=[/^utm_/],addDirectoryIndex=function(e,t){var c=new URL(e);return"/"===c.pathname.slice(-1)&&(c.pathname+=t),c.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,c,a){var n=new URL(e);return a&&n.pathname.match(a)||(n.search+=(n.search?"&":"")+encodeURIComponent(t)+"="+encodeURIComponent(c)),n.toString()},isPathWhitelisted=function(e,t){if(0===e.length)return!0;var c=new URL(t).pathname;return e.some(function(e){return c.match(e)})},stripIgnoredUrlParameters=function(e,c){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 c.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],c=e[1],a=new URL(t,self.location),n=createCacheKey(a,hashParamName,c,/\.\w{8}\./);return[a.toString(),n]}));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(c){return Promise.all(Array.from(urlsToCacheKeys.values()).map(function(t){if(!c.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 c=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(!c.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,c=stripIgnoredUrlParameters(t.request.url,ignoreUrlParametersMatching),a="index.html";(e=urlsToCacheKeys.has(c))||(c=addDirectoryIndex(c,a),e=urlsToCacheKeys.has(c));var n="./index.html";!e&&"navigate"===t.request.mode&&isPathWhitelisted(["^(?!\\/__).*"],t.request.url)&&(c=new URL(n,self.location).toString(),e=urlsToCacheKeys.has(c)),e&&t.respondWith(caches.open(cacheName).then(function(e){return e.match(urlsToCacheKeys.get(c)).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=[["./cn.html","33d35d1c8a28f357fe8f6a3d7c081c09"],["./index.html","7bcbbdeeb7d6c8dbfc2cdd1c842b73d0"],["./static/css/cn.fb9dfd08.css","956b8f005795c2569d823cddbc15d24c"],["./static/css/index.fb9dfd08.css","414d16d757eb45e170251798229d649f"],["./static/js/0.e3965535.chunk.js","e4fc6004690821e1d40096697d96b97d"],["./static/js/1.c2f38371.chunk.js","8f2eb049de8e98d53979270834d56865"],["./static/js/10.1391c26b.chunk.js","a35ee0d4366392c76ba7d6be3e3bfb1a"],["./static/js/11.b280160e.chunk.js","cd94fa7a0f5158f592416e1679646b7d"],["./static/js/12.d0047431.chunk.js","e8025284f48d7f3e72e1d78f9710230c"],["./static/js/13.68d709fd.chunk.js","63f8e9359c30f7102ac34e31a84df147"],["./static/js/14.7bf0869f.chunk.js","3e9527525e028de4a089bd4d69b40608"],["./static/js/15.659d6674.chunk.js","f5ba5c031dacf1ab3e69ed6c4d1d3ece"],["./static/js/16.01976d1e.chunk.js","0afac8e1cb8dc5b2520ee49d6e6af036"],["./static/js/17.b7dc499e.chunk.js","4cd6b4eaf321b0897d3faf812e29689a"],["./static/js/18.b0ebd3fc.chunk.js","b2a96f2e5903d02a0d1c66f2c8f7adf5"],["./static/js/19.bb4b6010.chunk.js","e60fa948cbf1da0e57095582315380b6"],["./static/js/2.b49c7338.chunk.js","9ecf5daf817c166fa1f90d970840ed3e"],["./static/js/20.0cf55312.chunk.js","90871f4d2264ae0fde7eaee3c2b0e773"],["./static/js/3.df2dd208.chunk.js","8b65af8a9d3efbe5425ed6b87b92773c"],["./static/js/4.63b41871.chunk.js","d326332805b9f5d64874a2b6ec241a3e"],["./static/js/5.f5d7afbb.chunk.js","f12c6c5c71d87696007a8639248b8f20"],["./static/js/6.f2dce616.chunk.js","a0938d5c861afabc033e1ec8618c7977"],["./static/js/7.76f313f2.chunk.js","d94a3aee2202649ddaeea2170131f2c8"],["./static/js/8.6eb3e8e2.chunk.js","2e515cfff4a40ae9a2f89097d018e135"],["./static/js/9.abd21dd1.chunk.js","0b004ee689a545cd6c5f97fec4534946"],["./static/js/cn.95d85f8b.js","2aa000c91512e0c5cd5ffc51bf087c97"],["./static/js/index.de5d5370.js","13787215726efa33b286f63b72a53c11"],["./static/media/omi-logo2019.923166c3.svg","923166c362dce831a15c447b19a622f9"]],cacheName="sw-precache-v3-sw-precache-webpack-plugin-"+(self.registration?self.registration.scope:""),ignoreUrlParametersMatching=[/^utm_/],addDirectoryIndex=function(e,t){var c=new URL(e);return"/"===c.pathname.slice(-1)&&(c.pathname+=t),c.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,c,n){var a=new URL(e);return n&&a.pathname.match(n)||(a.search+=(a.search?"&":"")+encodeURIComponent(t)+"="+encodeURIComponent(c)),a.toString()},isPathWhitelisted=function(e,t){if(0===e.length)return!0;var c=new URL(t).pathname;return e.some(function(e){return c.match(e)})},stripIgnoredUrlParameters=function(e,c){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 c.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],c=e[1],n=new URL(t,self.location),a=createCacheKey(n,hashParamName,c,/\.\w{8}\./);return[n.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(n){return setOfCachedUrls(n).then(function(c){return Promise.all(Array.from(urlsToCacheKeys.values()).map(function(t){if(!c.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 n.put(t,e)})})}}))})}).then(function(){return self.skipWaiting()}))}),self.addEventListener("activate",function(e){var c=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(!c.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,c=stripIgnoredUrlParameters(t.request.url,ignoreUrlParametersMatching),n="index.html";(e=urlsToCacheKeys.has(c))||(c=addDirectoryIndex(c,n),e=urlsToCacheKeys.has(c));var a="./index.html";!e&&"navigate"===t.request.mode&&isPathWhitelisted(["^(?!\\/__).*"],t.request.url)&&(c=new URL(a,self.location).toString(),e=urlsToCacheKeys.has(c)),e&&t.respondWith(caches.open(cacheName).then(function(e){return e.match(urlsToCacheKeys.get(c)).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/9.bd7d4954.chunk.js b/site/docs/static/js/9.abd21dd1.chunk.js similarity index 71% rename from site/docs/static/js/9.bd7d4954.chunk.js rename to site/docs/static/js/9.abd21dd1.chunk.js index e390dccbf..8f4a90c2b 100644 --- a/site/docs/static/js/9.bd7d4954.chunk.js +++ b/site/docs/static/js/9.abd21dd1.chunk.js @@ -1,2 +1,2 @@ -webpackJsonp([9],{50:function(n,i){n.exports='## \u5b89\u88c5 \n\n\u76f4\u63a5\u4e0b\u8f7d\u5e76\u7528 `