瀏覽代碼

installation doc

Shaun Li 2 年之前
父節點
當前提交
c64b8468d7
共有 1 個文件被更改,包括 20 次插入0 次删除
  1. 20 0
      README.md

+ 20 - 0
README.md

@@ -2,6 +2,26 @@
 
 
 Easy to use and flexible router for Alpine.js
 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
 ## Getting Started
 
 
 ```html
 ```html