Skip to content

Commit a0e16e8

Browse files
committed
chore: fix format
1 parent 646a93d commit a0e16e8

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ import vueJsxVapor from 'vue-jsx-vapor/vite'
5252
export default defineConfig({
5353
plugins: [
5454
vueJsxVapor({
55-
macros: true
56-
})
55+
macros: true,
56+
}),
5757
]
5858
})
5959

@@ -82,9 +82,7 @@ Because of vue-jsx-vapor support all directives and most macros of Vue,\
8282
so we need the VSCode plugin [ts-macro](https://github.com/ts-macro/ts-macro) to use the `vue-jsx-vapor/volar` plugin for Typescript support.\
8383
It works similarly to [@vue/language-tools](https://github.com/vuejs/language-tools) but only used for `ts` or `tsx` files.
8484

85-
By default, after installing the `ts-macro` VSCode plugin,\
86-
`ts-macro` will automatically load `vue-jsx-vapor/volar` by analyzing `vite.config.ts` and shared vueJsxVapor's options,\
87-
so you don't need to config `tsm.config.ts`. But if you want, you can also configure it manually:
85+
By default, after installing the `ts-macro` VSCode plugin, `ts-macro` will automatically load `vue-jsx-vapor/volar` by analyzing `vite.config.ts` and shared vueJsxVapor's options. so you don't need to config `tsm.config.ts`. But if you want, you can also configure it manually:
8886

8987
```ts
9088
// tsm.config.ts
@@ -93,8 +91,8 @@ import vueJsxVapor from 'vue-jsx-vapor/volar'
9391
export default {
9492
plugins: [
9593
vueJsxVapor({
96-
macros: true
97-
})
94+
macros: true,
95+
}),
9896
],
9997
}
10098

0 commit comments

Comments
 (0)