Back to Meteor

Vite Bundler with Meteor 3

v3-docs/v3-migration-docs/vite-bundler/setup.md

0.8.3.1554 B
Original Source

Vite Bundler with Meteor 3

For Meteor 3 you need to use the beta version of jorgenvatle:vite-bundler package to use Vite as the bundler for your Meteor project:

bash
meteor add jorgenvatle:[email protected]

Also, you need to install Vite as a dev dependency in your project:

bash
meteor npm i -D vite@4
meteor npm i meteor-vite

For the remaining steps you can follow the package guide located here. There you can also find starter templates for different front-end frameworks.