Skip to content

Commit 05cff96

Browse files
committed
add vue 3 support
1 parent 92ad507 commit 05cff96

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class SvgVue {
88
}
99

1010
dependencies() {
11-
return ['img-loader', 'imagemin-svgo', 'raw-loader', 'fs', 'svg-vue'];
11+
return ['img-loader', 'imagemin-svgo', 'raw-loader', 'fs', 'svg-vue', 'svg-vue3'];
1212
}
1313

1414
register(options) {

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
"img-loader": "^3.0.1",
3838
"path": "^0.12.7",
3939
"raw-loader": "^4.0.0",
40-
"svg-vue": "^0.1.1"
40+
"svg-vue": "^0.1.1",
41+
"svg-vue3": "^0.1.1"
4142
}
4243
}

0 commit comments

Comments
 (0)