Skip to content

Commit 5e8ae0c

Browse files
committed
chore: up readme
1 parent 658b4bf commit 5e8ae0c

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

README.md

+15-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ defineExpose({
171171
</script>
172172
```
173173

174-
### Volar
174+
### Volar Config
175175

176176
```jsonc
177177
// tsconfig.json
@@ -186,6 +186,20 @@ defineExpose({
186186
}
187187
```
188188

189+
### [TS Macro](https://github.com/ts-macro/ts-macro) Config
190+
191+
```ts [tsm.config.json]
192+
import reactivityFunction from 'unplugin-vue-reactivity-function/volar'
193+
194+
export default {
195+
plugins: [
196+
reactivityFunction({
197+
ignore: ['$fetch'],
198+
}),
199+
],
200+
}
201+
```
202+
189203
## License
190204

191205
[MIT](./LICENSE) License © 2023-PRESENT [zhiyuanzmj](https://github.com/zhiyuanzmj)

0 commit comments

Comments
 (0)