https://github.com/adeptoas/sweet-modal-vue
The sweetest library to happen to modals.
https://github.com/adeptoas/sweet-modal-vue
dialog library modal sweet sweet-modal vue vue-components
Last synced: 1 day ago
JSON representation
The sweetest library to happen to modals.
- Host: GitHub
- URL: https://github.com/adeptoas/sweet-modal-vue
- Owner: visma-meglerfront
- License: other
- Created: 2017-03-02T16:02:35.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-01-11T22:25:28.000Z (over 2 years ago)
- Last Synced: 2025-04-28T18:02:05.511Z (5 days ago)
- Topics: dialog, library, modal, sweet, sweet-modal, vue, vue-components
- Language: Vue
- Size: 4.1 MB
- Stars: 750
- Watchers: 14
- Forks: 86
- Open Issues: 68
-
Metadata Files:
- Readme: README.md
- License: LICENSE-GPL
Awesome Lists containing this project
- awesome - sweet-modal-vue - 精美的点击提示对话框 (UI组件)
README
# SweetModal
The sweetest library to happen to modals.
Now available for Vue.js.## Usage
Install SweetModal for Vue.js through npm:
```
npm install sweet-modal-vue
```## Examples
For examples, refer to [the demo page](http://sweet-modal-vue.adepto.as).
## Browser Compatibility
SweetModal should work in most major browsers:
- Safari 9+
- Firefox 20+
- Chrome 20+
- Opera 15+
- Microsoft Edge## Contribution
1. Fork the repository
2. Run `npm install`
3. Run `npm run dev` and start hacking. You can reach the example site at `http://localhost:8081`.
4. When you're done, run one final `npm run build` command and commit your work for a pull request.### Guidelines
- tabs for indentation, 1 tab = 4 spaces
- camelCase method names
- _camelCase for private methods
- snake_case computed properties
- snake_case data
- kebab-case attributes
- arrow functions if possible
- be fully ES6 compliant!