File tree Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Expand file tree Collapse file tree 3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import App from './App.vue';
4
4
5
5
import VueSweetalert2 from './vue-sweetalert2' ;
6
6
7
- Vue . use ( VueSweetalert2 ) ;
7
+ Vue . use ( VueSweetalert2 , { includeCss : false } ) ;
8
8
9
9
new Vue ( {
10
10
el : '#app' ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " vue-sweetalert2" ,
3
- "version" : " 2.0.1 " ,
3
+ "version" : " 2.0.4 " ,
4
4
"description" : " Simple Vue sweetalert2 package" ,
5
5
"main" : " dist/index.js" ,
6
6
"types" : " dist/index.d.ts" ,
16
16
" prompt" ,
17
17
" ssr"
18
18
],
19
+ "files" : [
20
+ " src" ,
21
+ " nuxt" ,
22
+ " dist"
23
+ ],
19
24
"author" : " Aleksey Pivkin @avil13" ,
20
25
"license" : " MIT" ,
21
26
"dependencies" : {
36
41
"typescript" : " ^3.4.5" ,
37
42
"vue" : " ^2.6.10"
38
43
},
39
- "files" : [
40
- " src" ,
41
- " nuxt"
42
- ],
43
44
"ava" : {
44
45
"babel" : " inherit" ,
45
46
"require" : [
Original file line number Diff line number Diff line change 1
1
// @ts -check
2
2
import Vue from 'vue' ;
3
3
4
- import Swal , { SweetAlertOptions } from 'sweetalert2/src/sweetalert2.js' ;
4
+ import { SweetAlertOptions } from 'sweetalert2' ;
5
+ import Swal from 'sweetalert2/dist/sweetalert2.min.js' ;
5
6
6
7
type VueSwalInstance = typeof Swal . fire ;
7
8
You can’t perform that action at this time.
0 commit comments