Exception: RailsVite::MissingManifestError
- Defined in:
- lib/rails_vite/errors.rb
Instance Method Summary collapse
-
#initialize(path) ⇒ MissingManifestError
constructor
A new instance of MissingManifestError.
Constructor Details
#initialize(path) ⇒ MissingManifestError
Returns a new instance of MissingManifestError.
5 6 7 8 9 10 11 12 |
# File 'lib/rails_vite/errors.rb', line 5 def initialize(path) = if Rails.env.local? "Vite manifest not found at #{path}. Start the Vite dev server with `bin/dev` or precompile assets with `rake vite:build`." else "Vite manifest not found at #{path}. Run `rake vite:build` to compile assets." end super() end |