8000 docs: fixed js import package name · svnrnns/aurora-vue3@c14f24d · GitHub
[go: up one dir, main page]

Skip to content

Commit c14f24d

Browse files
committed
docs: fixed js import package name
1 parent 5c65252 commit c14f24d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Aurora is a package that enhances the Axios experience in **Vue 3**, replacing t
6868
## Installation
6969

7070
```bash
71-
$ npm install @svnrnns/aurora-vue --save-dev
71+
$ npm install aurora-vue3 --save-dev
7272
```
7373

7474
## Usage
@@ -79,7 +79,7 @@ Create an instance of Aurora with an optional URL. <br>
7979
If the constructor receives and URL, it will be set as base URL so every call made with take the **endpoint** param as an API endpoint combining the URL and the endpoint. <br>
8080

8181
```js
82-
import Aurora from "@svnrnns/aurora-vue";
82+
import Aurora from "aurora-vue3";
8383

8484
const auroraInstance = new Aurora("https://api.example.com");
8585
const response = auroraInstance.get("/users");
@@ -88,7 +88,7 @@ const response = auroraInstance.get("/users");
8888
On the other hand, if the constructor does not receive an URL, then the **endpoint** param will become the complete URL of the call.
8989

9090
```js
91-
import Aurora from "@svnrnns/aurora-vue";
91+
import Aurora from "aurora-vue3";
9292

9393
const auroraInstance = new Aurora();
9494
const response = auroraInstance.get("https://api.example.com");

0 commit comments

Comments
 (0)
0