Work with Vite and NX to combine Vite with the NX monorepo tool. Follow these steps and you’ll see it working as expected. The latest version of vite is 3.1.0.0, and I used it in my code, but feel free to get a newer version run.

4m read timeFrom medium.com
Post cover image
Table of contents
Work with Vite and NXI recommend using @nxext/viteUpgrade Vite versionOverride Vite versionVitest is also necessaryLet’s run the vite applicationDon’t forget vitest.config.ts !Here are some missing TS configsEvery app has a project.json to modifyGood luck!Who am I?
1 Comment

Sort: