Browse Source

installation doc

Shaun Li 2 năm trước cách đây
mục cha
commit
c64b8468d7
1 tập tin đã thay đổi với 20 bổ sung0 xóa
  1. 20 0
      README.md

+ 20 - 0
README.md

@@ -2,6 +2,26 @@
 
 Easy to use and flexible router for Alpine.js
 
+## Installation
+
+### npm
+
+```bash
+npm install @shaun/alpinejs-router
+```
+
+### yarn
+
+```bash
+yarn add @shaun/alpinejs-router
+```
+
+### cdn
+
+```html
+<script src="https://unpkg.com/@shaun/alpinejs-router@1.x.x/dist/cdn.min.js" defer></script>
+```
+
 ## Getting Started
 
 ```html