@mantine-vue/nprogress 1.1.2 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +46 -0
- package/package.json +3 -3
package/README.md
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# @mantine-vue/nprogress
|
|
2
|
+
|
|
3
|
+
Slim, customizable navigation progress bar for Vue, equivalent to `@mantine/nprogress`.
|
|
4
|
+
|
|
5
|
+
> Mantine Vue is an independent community port of [Mantine](https://mantine.dev/) for Vue 3. It is not affiliated with or endorsed by the Mantine team.
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
yarn add @mantine-vue/nprogress @mantine-vue/core @mantine-vue/store
|
|
11
|
+
|
|
12
|
+
# or with npm
|
|
13
|
+
npm i @mantine-vue/nprogress @mantine-vue/core @mantine-vue/store
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Usage
|
|
17
|
+
|
|
18
|
+
```vue
|
|
19
|
+
<script setup>
|
|
20
|
+
import { NavigationProgress, nprogress } from '@mantine-vue/nprogress'
|
|
21
|
+
import '@mantine-vue/nprogress/styles.css'
|
|
22
|
+
|
|
23
|
+
function start() {
|
|
24
|
+
nprogress.start()
|
|
25
|
+
}
|
|
26
|
+
</script>
|
|
27
|
+
|
|
28
|
+
<template>
|
|
29
|
+
<NavigationProgress />
|
|
30
|
+
<button @click="start">Start</button>
|
|
31
|
+
</template>
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
## Documentation
|
|
35
|
+
|
|
36
|
+
Full API and examples: [mantine-vue.dev/x/nprogress](https://mantine-vue.dev/x/nprogress)
|
|
37
|
+
|
|
38
|
+
## Peer dependencies
|
|
39
|
+
|
|
40
|
+
- `vue` ^3.5.0
|
|
41
|
+
- `@mantine-vue/core`
|
|
42
|
+
- `@mantine-vue/store`
|
|
43
|
+
|
|
44
|
+
## License
|
|
45
|
+
|
|
46
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mantine-vue/nprogress",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.4",
|
|
4
4
|
"description": "Vue navigation progress bar equivalent to @mantine/nprogress",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"vue": "^3.5.0"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"@mantine-vue/core": "1.1.
|
|
41
|
-
"@mantine-vue/store": "1.1.
|
|
40
|
+
"@mantine-vue/core": "1.1.4",
|
|
41
|
+
"@mantine-vue/store": "1.1.4",
|
|
42
42
|
"vue": "^3.5.0"
|
|
43
43
|
}
|
|
44
44
|
}
|