Search Results for "webpacker"
Lessons
Forum Threads
Webpacker noob - so I saw your video and im using rails 6
Figured it out
application.js
```
var jQueryBridget = require('jquery-bridget');
var Isotope = require('isotope-layout');
jQueryBridget( 'isotope', Isotope, $ );
```
Sheesh !
Gus P
replied
•
Solved
4
Rails
Webpacker: How do I use images inside my .vue single file components?
We'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
posted
1
Rails
Webpacker Javascript Embed Code Snippet & Scoped Styles Discussion
Any 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
replied
11
General
Webpacker error from Vue.js Trello Clone Series
Ok, 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
•
Solved
5
Rails
Webpacker requires Node.js >= 6.0.0 and you are using 0.10.30
Turned out it was actually a **Heroku** issue. I just needed to add a node buildback.
Simon Cooper
replied
•
Solved
4
General
Using Webpacker and Rails on AWS Elastic Beanstalk
Solved it ;)Moved tailwaindcss to dependencies instead of devDependencies in package.json
Simon Cooper
replied
•
Solved
11
General
Using webpacker in Rails Engines?
It 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
replied
7
Rails
Hotwire/Turbo + Webpacker/Stimulusjs
I 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
posted
1
General
Rails repeats Webpacker packages if I go backwards (OwlCarousel, DataTables)
This 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
•
Solved
3
Rails
Rails 6 webpacker with theme implementation error.
I 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
posted
1
Rails
Blazer and webpacker
Hi, 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
posted
1
General
Need help on Webpacker issue with Rails 6
I 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
posted
1
Rails
Shrine default_url with webpacker
I 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
•
Solved
2
Rails
https://gorails.com/episodes/webpacker-javascript-in-rails-6
Thank you very much for such fast and appropriate response.
Ted Leason
replied
3
General
rails 6 favicon.ico Webpacker can't find favicon.ico
Check 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
3
General