From 149a2d93c2bef5946994e2a3dc5ff999cd6d087c Mon Sep 17 00:00:00 2001 From: erkelost <1256029807@qq.com> Date: Fri, 25 Apr 2025 21:42:48 +0800 Subject: [PATCH] chore: update farm usage --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 78600b9f..fb0ef1c3 100644 --- a/README.md +++ b/README.md @@ -104,6 +104,21 @@ export default {
+
+Farm
+ +```ts +// farm.config.ts +import Vue from 'unplugin-vue/farm' + +export default { + /* ... */ + plugins: [Vue()], +} +``` + +
+ ### Limitations ⚠️ HMR is not supported for Webpack, Vue CLI, and Rspack.