forked from arthurvasconcelos/vue-izitoast
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b14feb1
commit eb30454
Showing
7 changed files
with
128 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2017 Arthur Vasconcelos | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,23 @@ | ||
# vue-izitoast | ||
# Vue iziToast | ||
|
||
Elegant, responsive, flexible and lightweight notification plugin implemented for Vue 2 of [iziToast](https://github.com/dolce/iziToast) | ||
|
||
 | ||
|
||
## Requirements | ||
|
||
- Vue ^2.0.0 | ||
- iziToast ^1.2.0 | ||
|
||
## Install | ||
```sh | ||
$ npm install vue-izitoast --save | ||
|
||
$ yarn add vue-izitoast | ||
``` | ||
|
||
## Configuration | ||
|
||
## Running | ||
|
||
## Contributing |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
{ | ||
"name": "vue-izitoast", | ||
"version": "0.0.0", | ||
"description": "Elegant, responsive, flexible and lightweight notification plugin implemented for Vue 2 of iziToast", | ||
"main": "dist/index.js", | ||
"typings": "types/index.d.ts", | ||
"files": [ | ||
"dist", | ||
"types/index.d.ts", | ||
"types/vue.d.ts" | ||
], | ||
"scripts": { | ||
|
||
}, | ||
"homepage": "https://github.comarthurvasconcelos/vue-izitoast#readme", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.comarthurvasconcelos/vue-izitoast.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.comarthurvasconcelos/vue-izitoast/issues" | ||
}, | ||
"keywords": [ | ||
"vue", | ||
"typescript", | ||
"izitoast", | ||
"toaster", | ||
"toast", | ||
"message", | ||
"notification", | ||
"alert", | ||
"info,", | ||
"success", | ||
"warning", | ||
"confirm", | ||
"question", | ||
"js" | ||
], | ||
"author": "Arthur Vasconcelos <[email protected]> (http://arthurvasconcelos.com.br/)", | ||
"license": "MIT", | ||
"private": false, | ||
"dependencies": { | ||
"izitoast": "arthurvasconcelos/izitoast#master", | ||
"vue": "^2.5.2" | ||
}, | ||
"peerDependencies": { | ||
"izitoast": "^1.1.5", | ||
"vue": "^2.5.2" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import _Vue from "vue"; | ||
|
||
// augment typings of Vue.js | ||
import "./vue"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/** | ||
* Extends interfaces in Vue.js | ||
*/ | ||
|
||
import Vue, { ComponentOptions } from 'vue'; | ||
import IziToast from 'izitoast'; | ||
|
||
declare module 'vue/types/vue' { | ||
interface Vue { | ||
$toast: typeof IziToast; | ||
} | ||
} | ||
|
||
declare module 'vue/types/options' { | ||
interface ComponentOptions<V extends Vue> { | ||
toast?: typeof IziToast; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. | ||
# yarn lockfile v1 | ||
|
||
|
||
izitoast@arthurvasconcelos/izitoast#master: | ||
version "1.2.0" | ||
resolved "https://codeload.github.com/arthurvasconcelos/izitoast/tar.gz/dd779dc6584e0706b3d80906b2dcfa1d8219ce5c" | ||
|
||
vue@^2.5.2: | ||
version "2.5.2" | ||
resolved "https://registry.yarnpkg.com/vue/-/vue-2.5.2.tgz#fd367a87bae7535e47f9dc5c9ec3b496e5feb5a4" |