platanus / potassium

A Rails application generator by Platanus, inspired by Suspenders
MIT License
232 stars 17 forks source link

When Vue and GTM are both selected, the app is not rendered in production/staging #373

Closed difernandez closed 3 years ago

difernandez commented 3 years ago

In the GTM recipe, a Content Security Policy is added that interferes with Vue mounting and rendering. The error is difficult to determine, because deploy doesn't fail and browser console doesn't show anything very useful.

Removing the CSP config altogether seems to fix the issue, but maybe we could determine a better way to both keep come security provided by CSP and allow Vue's correct behavior? Not sure, but I think it's worth checking at least

difernandez commented 3 years ago

Closed in #375