Update to latest version of Vite? #113
-
Hi! Wondering the best way to update to latest version of Vite (or even try beta versions)? Do I need to update the gem, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi Nick!
Added a Upgrading npm packagesYou can update the
You can also specify a version manually in It's always convenient to check the changelog when upgrading, specially if upgrading to a major or minor version. Upgrading Ruby gemsWhen upgrading the packages, you might want to also upgrade the gems to stay up-to-date:
Upgrading the gems does not upgrade the |
Beta Was this translation helpful? Give feedback.
-
@nickcotton Added a Would love to get some feedback on it, let me know if you try it! |
Beta Was this translation helpful? Give feedback.
Hi Nick!
bundle exec vite install
should only be run once when first setting up the gem, and it should not be run when upgrading.Added a
bin/vite upgrade
command to 3.0.0, which can be run to perform the following process automatically.Upgrading npm packages
You can update the
vite
package independently, but it's always convenient to updatevite-plugin-ruby
, in case there are any breaking changes that require the plugin to be updated as well.You can also specify a version manually in
package.json
, for example:"vite": "^2.5.0-beta.2",
It's always convenient to check the changelog when upgrading, specially if upgrading to a major or m…