Ruby on Rails Friday, January 10, 2020



On Saturday, January 11, 2020 at 1:48:31 AM UTC-5, fugee ohu wrote:
I installed js-cookie using `yard add js-cookie and put this line in application.js
require("js-cookie")
but when I use this code in my channel:
console.log(Cookies.get('current_user_id'))
I get the error Cookies is not defined

After running `yard install --check-files` it  errors out with not found in manifest.js

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/70c42ff9-2b17-47c2-9361-30d8070bb95e%40googlegroups.com.

No comments:

Post a Comment