We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c21710a commit a55eebcCopy full SHA for a55eebc
packages/plugin-vue/README.md
@@ -28,10 +28,27 @@ export interface Options {
28
}
29
```
30
31
+## Exmaple for passing options to `@vue/compiler-dom`:
32
+
33
+```ts
34
+import vue from '@vitejs/plugin-vue'
35
36
+export default {
37
+ plugins: [
38
+ vue({
39
+ template: {
40
+ compilerOptions: {
41
+ // ...
42
+ }
43
44
+ })
45
+ ]
46
+}
47
+```
48
49
## Example for transforming custom blocks
50
51
```ts
-// vite.config.js
52
import vue from '@vitejs/plugin-vue'
53
54
const vueI18nPlugin = {
@@ -52,8 +69,8 @@ const vueI18nPlugin = {
69
export default {
70
plugins: [vue(), vueI18nPlugin]
71
55
-```
72
56
73
57
74
## License
58
75
59
-MIT
76
+MIT
0 commit comments