Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/2nthony/vue-cusdis
Vue port cusdis. Support Vue 2 & 3.
https://github.com/2nthony/vue-cusdis
cusdis vue vue-cusdis
Last synced: 2 months ago
JSON representation
Vue port cusdis. Support Vue 2 & 3.
- Host: GitHub
- URL: https://github.com/2nthony/vue-cusdis
- Owner: 2nthony
- Created: 2021-04-26T07:29:45.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-15T06:00:20.000Z (about 1 year ago)
- Last Synced: 2024-10-12T08:44:15.102Z (3 months ago)
- Topics: cusdis, vue, vue-cusdis
- Language: JavaScript
- Homepage:
- Size: 25.4 KB
- Stars: 13
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
React Cusdis: https://github.com/Cusdis/sdk/tree/master/packages/react-cusdis
# vue-cusdis
```console
npm i vue-cusdis
```## Usage
```html
// For Vue 3
import VueCusdis from 'vue-cusdis'
// For Vue 2
import VueCusdis from 'vue-cusdis/dist/vue2.es'export default {
components: { VueCusdis },
}```
## props
### attrs
- Type: `Object`
Cusdis SDK attributes: https://cusdis.com/doc#/advanced/sdk
### lang
- Type: `String`
For i18n, Available languages: https://cusdis.com/doc#/advanced/i18n
## BREAKING CHANGES
Please migrate `@evillt/vue-cusdis` to `vue-cusdis`.
In `v2.0.0`, we rename the filename for vue2 version. Just make this change:
```diff
- import VueCusdis from '@evillt/vue-cusdis/dist/V2.es'
+ import VueCusdis from '@evillt/vue-cusdis/dist/vue2.es'
```We thought `V2.es` was misleading.
## Thanks
- [Frost Ming](https://github.com/frostming)
## License
MIT