webpacker
I installed webpacker but when i start the server i get this Webpacker::Manifest::MissingEntryError in Main#index, how do i get this out of the way it has gotten frustrating.
Muganda Dizo postedI installed webpacker but when i start the server i get this Webpacker::Manifest::MissingEntryError in Main#index, how do i get this out of the way it has gotten frustrating.
Muganda Dizo postedIt is happening to me as well but really cant sort it out at the moment. In my case what makes everything break is a npm package called active_storage_drag_and_drop
giovanni panasiti repliedFigured it out application.js ``` var jQueryBridget = require('jquery-bridget'); var Isotope = require('isotope-layout'); jQueryBridget( 'isotope', Isotope, $ ); ``` Sheesh !
Gus P replied • SolvedWe're using Rails and Webpacker with Vue single file components. How do we insert images inside the `` ? A far as I can see there are many options. **OPTION 1**: Use .vue.erb (with webpacker erb...
TL postedAny idea how to parametrize the embedded javascript, say I want to retrieve a list of items through the embedded js. It's always the same piece of JS but sometimes I want to fetch based on some cri...
David GEISMAR repliedOk, my mistake was, that I used webpack version 4, which is not compatible with the latest release of the webpacker gem. Downgrading webpack to version 3 solved the problem – now assets are compiled.
Matthias Orgler replied • SolvedTurned out it was actually a **Heroku** issue. I just needed to add a node buildback.
Simon Cooper replied • SolvedDid you get this working? https://planilha.tramitacaointeligente.com.br/planilhas/ED2sUXz32-R9CJKdkmtf8QIt appears to me to be working for you.
John Meehan repliedSolved it ;)Moved tailwaindcss to dependencies instead of devDependencies in package.json
Simon Cooper replied • SolvedIt would be super cool if Chris could cover this. **Nobody** in that github issue thread has found an official answer to this, and the official README from the rails/webpacker repository just doesn...
Angel Garcia repliedI think I'm confused. I love the functionality of Hotwire and experimented a little with it in a fresh app. I don't understand though, if I can also have Stimulusjs running - I have different needs...
Bevin postedThis was the quick fix, for if anyone views this post in the future: Add this line in your application ```html #in app/views/layouts/application.html.erb ... ... ```
cratag replied • SolvedI am creating one rails application with the latest version 6.1.3 and ruby version 2.7.2. I have one old theme and I want to integrate it into my application. But somehow I can not able to integra...
bhadresh chotaliya postedHi, lads! It looks like blazer requires default asset pipeline and doesn't work with webpacker. Did you saw any hack/fork how to make them work together?
Alexey Poimtsev postedI am using Rails 6, Ruby 2.7, and Webpacker 4. X I am getting below error ActionView::Template::Error (Webpacker can't find application.js in /Users/developer/Documents/Projects/knowhub/public/pack...
swathi arisankula postedI figured it out, and yes it is using the asset helper in the uploader. ```ruby Attacher.default_url do |**_options| ActionController::Base.helpers.asset_pack_path "media/images/#{name}-miss...
Dieter Lunn replied • SolvedThank you very much for such fast and appropriate response.
Ted Leason repliedCheck this article https://dev.to/kattak2k/adding-a-favicon-to-your-site-using-webpacker-in-rails-6-2m2h looks like it contained the answer to your question. By default, the helper in Rails looks ...
Stéphane Paquet replied