Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vue template error #2531

Closed
hackartisan opened this issue Feb 5, 2019 · 1 comment · Fixed by #2535
Closed

vue template error #2531

hackartisan opened this issue Feb 5, 2019 · 1 comment · Fixed by #2535
Assignees

Comments

@hackartisan
Copy link
Member

i'm getting an error in console on the show page of a playlist that ends like this

- Templates should only be responsible for mapping the state to the UI. Avoid placing tags with side-effects in your templates, such as <script>, as they will not be parsed.


(found in <Root>)

looks like it may be coming from the document adder.

@hackartisan
Copy link
Member Author

hackartisan commented Feb 5, 2019

I think the way we're adding components results in almost the whole page (the main div) being treated as a vue template

and then when i did the javascript_pack_tag in the auth_link partial it resulted in a <script> inside a template.

so I guess I need to add that javascript more broadly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants