Skip to content

Commit

Permalink
Update solid.mdx
Browse files Browse the repository at this point in the history
  • Loading branch information
valcosmos authored Jun 25, 2024
1 parent fcadfc4 commit 39f3a36
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions docs/frameworks/solid.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,15 @@ For `Solid` support, `Farm` recommends using `Vite` plugins.

```javascript title="farm.config.ts"
import { defineConfig } from '@farmfe/core';
import Solid from "vite-plugin-solid";
import solid from 'vite-plugin-solid';

export default defineConfig({
plugins: [Solid()],
vitePlugins: [
() => ({
vitePlugin: solid(),
filters: ['\\.tsx$', '\\.jsx$']
})
]
});
```

Expand Down

0 comments on commit 39f3a36

Please sign in to comment.