From 27d07cceef80ddba434fb3d06f105b7a2f381116 Mon Sep 17 00:00:00 2001 From: Denis Sikuler Date: Tue, 21 Apr 2020 12:05:20 +0300 Subject: [PATCH] docs: fix typos in readme --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e5e75dd05..e13b49634 100644 --- a/README.md +++ b/README.md @@ -350,7 +350,7 @@ define('my-component', _ => ( - Cross frameworks(react, preact, vue, angular), components of omi are pure custom elements - One framework. Mobile & desktop & mini program - Stateless View Architecture Design -- Be friendly to custom elements, you can pass `false` attributes to elements through string `'0'` or string `'flase'`, you can [pass `object` attributes to elements through `:` prefix and `Omi.$`](https://github.com/Tencent/omi/releases/tag/v6.8.0) +- Be friendly to custom elements, you can pass `false` attributes to elements through string `'0'` or string `'false'`, you can [pass `object` attributes to elements through `:` prefix and `Omi.$`](https://github.com/Tencent/omi/releases/tag/v6.8.0) - [Easy two way binding by extend api](https://codepen.io/omijs/pen/aeLYjx) - Supports TypeScript - Reactive data-binding @@ -537,7 +537,7 @@ You can set up the PUBLIC_URL, such as: ```json ... "build": "PUBLIC_URL=https://fe.wxpay.oa.com/dv node scripts/build.js", -"build-windows": "set PUBLIC_URL=https://fe.wxpay.oa.com/dv&& node scripts/build.js", +"build-windows": "set PUBLIC_URL=https://fe.wxpay.oa.com/dv && node scripts/build.js", ... ``` @@ -672,7 +672,7 @@ npm install --save-dev @babel/preset-react } ``` -If you don't want to write CSS in JS, you can use [to-string-loader](https://www.npmjs.com/package/to-string-loader) of webpack, +If you don't want to write CSS in JS, you can use [to-string-loader](https://www.npmjs.com/package/to-string-loader) of webpack. For example, the following configuration: ```js