浏览代码

Merge pull request #89 from opdavies/install-import-eslint-error

Update the example import statement, fix eslint error
Caleb Porzio 5 年之前
父节点
当前提交
14b41b6f5e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -26,7 +26,7 @@ npm i alpinejs
 
 Include it in your script.
 ```js
-import Alpine from 'alpinejs'
+import 'alpinejs'
 ```
 
 For IE11, polyfills will need to be provided. Please load the following scripts before the Alpine script above.