From 64b0e5769470bbc3bf5c8a9b61ef016a261459c6 Mon Sep 17 00:00:00 2001 From: bplok20010 Date: Sat, 13 Jun 2020 23:26:08 +0800 Subject: [PATCH] Modified README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 876d3d2..b02e54d 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ npm install --save vue-toy ``` -2-300行代码模拟vue实现。 +300行左右代码模拟vue实现。 [![Edit vibrant-williamson-66cdi](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/vibrant-williamson-66cdi?fontsize=14&hidenavigation=1&theme=dark) @@ -12,7 +12,7 @@ npm install --save vue-toy ## Vue(options) ```ts interface Options { - el: HTMLElement; + el: HTMLElement | string; propsData?: Record; props?: string[]; name?: string;