diff --git a/.babelrc b/.babelrc index 0e5cba99a..c72eeb3a2 100644 --- a/.babelrc +++ b/.babelrc @@ -2,9 +2,7 @@ "presets": [ [ "es2015", - { - "modules": false - } + { "modules": false } ] ], "plugins": [ diff --git a/README.md b/README.md index 93081b44c..2a90cd0c1 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ npm i -S vant ### Import all components -```javascrip +```javascript import Vue from 'vue'; import vant from 'vant'; import 'vant/lib/vant-css/index.css'; diff --git a/README.zh-CN.md b/README.zh-CN.md index e0c87b6a8..6cb129656 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -45,7 +45,7 @@ npm i -S vant ### 导入所有组件 -```javascrip +```javascript import Vue from 'vue'; import vant from 'vant'; import 'vant/lib/vant-css/index.css';