Reputation: 514
I'm trying out a brand new Rails 5.1.4 app, installing both the default webpacker and vue scripts
rails new app --webpack rails webpacker:install:vue
I'm trying out the new app with the include hello_vue.js
sample file.
"Hello Vue!" gets rendered, but the scoped css included in the component is not.
Is this a bug? Any work-arounds?
Upvotes: 3
Views: 1622
Reputation: 514
Thanks @Chris O'Sullivan, I did not include stylesheet_pack_tag. This seems to be a new requirement moving from Webpacker 2 to 3
Upvotes: 6