We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 63e0419 commit d484513Copy full SHA for d484513
README.md
@@ -6,6 +6,17 @@ Vue SFC REPL as a Vue 3 component.
6
7
**Note: `@vue/repl` >= 2 now supports Monaco Editor, but also requires explicitly passing in the editor to be used for tree-shaking.**
8
9
+```ts
10
+// vite.config.ts
11
+import { defineConfig } from 'vite'
12
+export default defineConfig({
13
+ optimizeDeps: {
14
+ exclude: ['@vue/repl'],
15
+ },
16
+ // ...
17
+})
18
+```
19
+
20
### With CodeMirror Editor
21
22
Basic editing experience with no intellisense. Lighter weight, fewer network requests, better for embedding use cases.
0 commit comments