8000 chore: update farm usage (#182) · unplugin/unplugin-vue@c4b5ac9 · GitHub
[go: up one dir, main page]

Skip to content

Commit c4b5ac9

Browse files
authored
chore: update farm usage (#182)
1 parent 8de9910 commit c4b5ac9

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,21 @@ export default {
104104

105105
<br></details>
106106

107+
<details>
108+
<summary>Farm</summary><br>
109+
110+
```ts
111+
// farm.config.ts
112+
import Vue from 'unplugin-vue/farm'
113+
114+
export default {
115+
/* ... */
116+
plugins: [Vue()],
117+
}
118+
```
119+
120+
<br></details>
121+
107122
### Limitations
108123

109124
⚠️ HMR is not supported for Webpack, Vue CLI, and Rspack.

0 commit comments

Comments
 (0)
0