@logto/vue 2.2.1 → 2.2.2

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.
Files changed (2) hide show
  1. package/README.md +10 -6
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -1,9 +1,12 @@
1
1
  # Logto Vue SDK
2
+
2
3
  [![Version](https://img.shields.io/npm/v/@logto/vue)](https://www.npmjs.com/package/@logto/vue)
3
4
  [![Build Status](https://github.com/logto-io/js/actions/workflows/main.yml/badge.svg)](https://github.com/logto-io/js/actions/workflows/main.yml)
4
5
  [![Codecov](https://img.shields.io/codecov/c/github/logto-io/js)](https://app.codecov.io/gh/logto-io/js?branch=master)
5
6
 
6
- The Logto Vue SDK written in TypeScript. Check out our [integration guide](https://docs.logto.io/docs/recipes/integrate-logto/vue) or [docs](https://docs.logto.io/sdk/JavaScript/vue/) for more information.
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). Check out the source code and try it with ease.
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 start
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
  [![Website](https://img.shields.io/badge/website-logto.io-8262F8.svg)](https://logto.io/)
41
- [![Docs](https://img.shields.io/badge/docs-logto.io-green.svg)](https://docs.logto.io/sdk/JavaScript/vue/)
45
+ [![Docs](https://img.shields.io/badge/docs-logto.io-green.svg)](https://docs.logto.io/)
42
46
  [![Discord](https://img.shields.io/discord/965845662535147551?logo=discord&logoColor=ffffff&color=7389D8&cacheSeconds=600)](https://discord.gg/UEPaF3j5e6)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@logto/vue",
3
- "version": "2.2.1",
3
+ "version": "2.2.2",
4
4
  "type": "module",
5
5
  "main": "./lib/index.cjs",
6
6
  "module": "./lib/index.js",
@@ -21,7 +21,7 @@
21
21
  "directory": "packages/vue"
22
22
  },
23
23
  "dependencies": {
24
- "@logto/browser": "^2.2.2",
24
+ "@logto/browser": "^2.2.3",
25
25
  "@silverhand/essentials": "^2.8.7"
26
26
  },
27
27
  "devDependencies": {
@@ -36,7 +36,7 @@
36
36
  "postcss": "^8.4.31",
37
37
  "prettier": "^3.0.0",
38
38
  "stylelint": "^16.0.0",
39
- "typescript": "^5.0.0",
39
+ "typescript": "^5.3.3",
40
40
  "vue": "^3.3.13"
41
41
  },
42
42
  "peerDependencies": {