3

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?

Chih-Chao Lam
  • 514
  • 4
  • 15

1 Answers1

6

Thanks @Chris O'Sullivan, I did not include stylesheet_pack_tag. This seems to be a new requirement moving from Webpacker 2 to 3

Chih-Chao Lam
  • 514
  • 4
  • 15