Skip to content

Commit cad36c7

Browse files
author
Maxime Mangel
authored
Merge pull request #189 from nojaf/vite-plugin
Mention Vite plugin
2 parents 0c7459d + 33ad25a commit cad36c7

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

docs/docs/getting-started/javascript.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Please make sure you followed the [Fable setup guide](/docs/2-steps/your-first-f
1515

1616
In this section, we are going to see how to run Fable code using Node.js.
1717

18-
When using JavaScript, you will need a `package.json` to manage your dependencies.
18+
When using JavaScript, you will need a `package.json` to manage your dependencies.
1919
This file also allows you to confiture the type of `module` that Node.js use to interpret your code.
2020

2121
<ul class="textual-steps">
@@ -248,3 +248,7 @@ Try changing the content of `Program.fs` and see the result in the browser.
248248
</li>
249249

250250
</ul>
251+
252+
### Alternative
253+
254+
When using Vite, you could also consider working with [vite-plugin-fable](https://nojaf.com/vite-plugin-fable/) instead.

docs/docs/javascript/build-and-run.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,8 @@ During the bundling process, Vite will minify your code and remove dead code.
9191

9292
```bash
9393
dotnet fable --run npx vite build
94-
```
94+
```
95+
96+
## Alternative
97+
98+
When using Vite, you could also consider working with [vite-plugin-fable](https://nojaf.com/vite-plugin-fable/) instead.

0 commit comments

Comments
 (0)