Skip to content

Commit c31175b

Browse files
committed
fix: typo
1 parent 6ce8552 commit c31175b

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

Diff for: README.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export const useUserStore = defineStore$('user', () => {
115115
}
116116
})
117117

118-
// is equivalent to:
118+
// convert to:
119119
export const useUserStore = defineStore('user', () => {
120120
let token = $ref('')
121121
function login() {
@@ -135,27 +135,27 @@ import { useBase64 } from '@vueuse/core'
135135
import { useUserStore } from '~/store/user'
136136
137137
const { token, login } = $toRefs(useUserStore())
138-
// is equivalent to:
138+
// convert to:
139139
const { token, login } = $(toRefs(useUserStore()))
140140
login()
141141
142142
const text = $inject$('text', token)
143-
// is equivalent to:
143+
// convert to:
144144
const text = $(inject('text', $$(defaultText)))
145145
146146
const { base64 } = $useBase64$(text)
147-
// is equivalent to:
147+
// convert to:
148148
const { base64 } = $(useBase64($$(text)))
149149
150150
provide$('base64', base64)
151-
// is equivalent to:
151+
// convert to:
152152
provide('base64', $$(base64))
153153
154154
const stop = watch$(base64, () => {
155155
console.log$(base64)
156156
stop()
157157
})
158-
// is equivalent to:
158+
// convert to:
159159
const stop = watch($$(base64), () => {
160160
console.log($$(base64))
161161
stop()
@@ -164,7 +164,7 @@ const stop = watch($$(base64), () => {
164164
defineExpose$({
165165
base64,
166166
})
167-
// is equivalent to:
167+
// convert to:
168168
defineExpose({
169169
base64: $$(base64),
170170
})
@@ -180,9 +180,9 @@ defineExpose({
180180
"vueCompilerOptions": {
181181
"plugins": ["unplugin-vue-reactivity-function/volar"],
182182
"reactivityFunction": {
183-
"ignore": ["$fetch"]
184-
}
185-
}
183+
"ignore": ["$fetch"],
184+
},
185+
},
186186
}
187187
```
188188

0 commit comments

Comments
 (0)