View Source mix vite.install (vite v0.2.1)

Installs Vite.

$ mix vite.install $ mix vite.install --using bun

By default, it installs 5.3.1 but you can configure it in your config files, such as:

config :vite, :version, "5.3.1"

Options

* `--using` - change the package management

* `--no-config` - does not install vite config

## Assets

Whenever Vite is installed, a default vite configuration will be placed in a new assets/vite.config.js file. See the vite documentation on configuration options.

Summary

Functions