@logto/vue 2.2.1 → 2.2.3
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 +10 -6
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
# Logto Vue SDK
|
|
2
|
+
|
|
2
3
|
[](https://www.npmjs.com/package/@logto/vue)
|
|
3
4
|
[](https://github.com/logto-io/js/actions/workflows/main.yml)
|
|
4
5
|
[](https://app.codecov.io/gh/logto-io/js?branch=master)
|
|
5
6
|
|
|
6
|
-
The Logto Vue SDK written in TypeScript.
|
|
7
|
+
The Logto Vue SDK written in TypeScript.
|
|
8
|
+
|
|
9
|
+
Check out our [docs](https://docs.logto.io/sdk/vue/) for more information.
|
|
7
10
|
|
|
8
11
|
## Installation
|
|
9
12
|
|
|
@@ -27,16 +30,17 @@ pnpm add @logto/vue
|
|
|
27
30
|
|
|
28
31
|
## Get sample
|
|
29
32
|
|
|
30
|
-
A sample Vue project with the integration of @logto/vue SDK can be found at [Vue Sample](https://github.com/logto-io/js/tree/master/packages/vue-sample).
|
|
33
|
+
A sample Vue project with the integration of @logto/vue SDK can be found at [Vue Sample](https://github.com/logto-io/js/tree/master/packages/vue-sample).
|
|
34
|
+
|
|
35
|
+
Check out the source code and try it with ease.
|
|
31
36
|
|
|
32
37
|
```bash
|
|
33
|
-
pnpm i && pnpm
|
|
38
|
+
pnpm i && pnpm build
|
|
39
|
+
cd packages/vue-sample && pnpm start
|
|
34
40
|
```
|
|
35
41
|
|
|
36
|
-
Note: Currently only supports Vue 3.x and its [composition API](https://vuejs.org/api/composition-api-setup.html#composition-api-setup). Please let us know if you would like Logto to support Vue 2.x or options API by filing a [feature request](https://github.com/logto-io/logto/issues/new?assignees=&labels=feature-request&template=feature_request.md&title=feature+request%3A+).
|
|
37
|
-
|
|
38
42
|
## Resources
|
|
39
43
|
|
|
40
44
|
[](https://logto.io/)
|
|
41
|
-
[](https://docs.logto.io/
|
|
45
|
+
[](https://docs.logto.io/)
|
|
42
46
|
[](https://discord.gg/UEPaF3j5e6)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@logto/vue",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./lib/index.cjs",
|
|
6
6
|
"module": "./lib/index.js",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"directory": "packages/vue"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@
|
|
25
|
-
"@
|
|
24
|
+
"@silverhand/essentials": "^2.8.7",
|
|
25
|
+
"@logto/browser": "^2.2.4"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@silverhand/eslint-config": "^5.0.0",
|
|
@@ -36,11 +36,11 @@
|
|
|
36
36
|
"postcss": "^8.4.31",
|
|
37
37
|
"prettier": "^3.0.0",
|
|
38
38
|
"stylelint": "^16.0.0",
|
|
39
|
-
"typescript": "^5.
|
|
40
|
-
"vue": "^3.
|
|
39
|
+
"typescript": "^5.3.3",
|
|
40
|
+
"vue": "^3.4.19"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"vue": "
|
|
43
|
+
"vue": "^3.0.0"
|
|
44
44
|
},
|
|
45
45
|
"eslintConfig": {
|
|
46
46
|
"extends": "@silverhand",
|