File tree 1 file changed +10
-10
lines changed
1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ export const useUserStore = defineStore$('user', () => {
115
115
}
116
116
})
117
117
118
- // is equivalent to:
118
+ // convert to:
119
119
export const useUserStore = defineStore (' user' , () => {
120
120
let token = $ref (' ' )
121
121
function login() {
@@ -135,27 +135,27 @@ import { useBase64 } from '@vueuse/core'
135
135
import { useUserStore } from '~/store/user'
136
136
137
137
const { token, login } = $toRefs(useUserStore())
138
- // is equivalent to:
138
+ // convert to:
139
139
const { token, login } = $(toRefs(useUserStore()))
140
140
login()
141
141
142
142
const text = $inject$('text', token)
143
- // is equivalent to:
143
+ // convert to:
144
144
const text = $(inject('text', $$(defaultText)))
145
145
146
146
const { base64 } = $useBase64$(text)
147
- // is equivalent to:
147
+ // convert to:
148
148
const { base64 } = $(useBase64($$(text)))
149
149
150
150
provide$('base64', base64)
151
- // is equivalent to:
151
+ // convert to:
152
152
provide('base64', $$(base64))
153
153
154
154
const stop = watch$(base64, () => {
155
155
console.log$(base64)
156
156
stop()
157
157
})
158
- // is equivalent to:
158
+ // convert to:
159
159
const stop = watch($$(base64), () => {
160
160
console.log($$(base64))
161
161
stop()
@@ -164,7 +164,7 @@ const stop = watch($$(base64), () => {
164
164
defineExpose$({
165
165
base64,
166
166
})
167
- // is equivalent to:
167
+ // convert to:
168
168
defineExpose({
169
169
base64: $$(base64),
170
170
})
@@ -180,9 +180,9 @@ defineExpose({
180
180
" vueCompilerOptions" : {
181
181
" plugins" : [" unplugin-vue-reactivity-function/volar" ],
182
182
" reactivityFunction" : {
183
- " ignore" : [" $fetch" ]
184
- }
185
- }
183
+ " ignore" : [" $fetch" ],
184
+ },
185
+ },
186
186
}
187
187
```
188
188
You can’t perform that action at this time.
0 commit comments