Skip to content

Commit 4d8917f

Browse files
committed
chore: vite note on devDependencies
1 parent d54d652 commit 4d8917f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

content/configuration/vite.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,15 @@ All NativeScript apps can be bundled using [Vite](https://vite.dev/). To manage
1212
Install the plugin.
1313

1414
```bash
15-
npm install @nativescript/vite
15+
npm install @nativescript/vite --save-dev
1616
```
1717

18+
::: tip Note
19+
20+
Ensure it's installed in `devDependencies` since it's only needed for bundling and not at runtime.
21+
22+
:::
23+
1824
## Quick start (`init`)
1925

2026
To bootstrap an existing NativeScript app with Vite, you can first adjust your config.

0 commit comments

Comments
 (0)