vue-declassify-to-setup
Advanced tools
Comparing version
@@ -335,4 +335,3 @@ #!/usr/bin/env node | ||
to: "router", | ||
const: | ||
" const router = computed(() => getCurrentInstance()?.proxy.$router);", | ||
const: " const router = getCurrentInstance()?.proxy.$router;", | ||
vueimport: "getCurrentInstance", | ||
@@ -343,4 +342,3 @@ }, | ||
to: "route", | ||
const: | ||
" const route = computed(() => getCurrentInstance()?.proxy.$route);", | ||
const: " const route = getCurrentInstance()?.proxy.$route;", | ||
vueimport: "getCurrentInstance", | ||
@@ -351,4 +349,3 @@ }, | ||
to: "vuetify", | ||
const: | ||
" const vuetify = computed(() => getCurrentInstance()?.proxy.$vuetify);", | ||
const: " const vuetify = getCurrentInstance()?.proxy.$vuetify;", | ||
vueimport: "getCurrentInstance", | ||
@@ -355,0 +352,0 @@ }, |
{ | ||
"name": "vue-declassify-to-setup", | ||
"version": "1.4.7", | ||
"version": "1.4.8", | ||
"author": "Øystein Tvedten <oystein.tvedten@outlook.com>", | ||
@@ -5,0 +5,0 @@ "license": "ISC", |
@@ -66,3 +66,3 @@ # Vue 2 vue-property-decorator to Vue 2/3 setup-api converter :rocket: | ||
``` | ||
vue-convert --path . --destination "./exportfolder" --vue 3 -g -n | ||
vue-convert --path . --destination "./exportfolder" --vue 3 -n | ||
``` | ||
@@ -69,0 +69,0 @@ |
59089
-0.12%1456
-0.21%