At this current moment we don't have an out of the back workspace setup. In order to use nxext/vite you need to create a new NX workspace.
npx create-nx-workspace --preset=empty
After creating the blank workspace. Run the following commands
npm install @nxext/vite --save