Skip to Content
मेन्यू
This question has been flagged
1 Reply
4274 Views

Hi everyone, is there a way to use an external javascript in my website? I'm trying to use model-viewer but if I copy the script to a local folder and extend website.assets_frontend it shows an error in the console.

Version: Odoo 14

Uncaught SyntaxError: Unexpected token 'export'


For reference:
https://modelviewer.dev/

Thanks
Avatar
Discard
Author Best Answer

Adding the script to other view different from website.assets_frontend do the trick, in my case I extend the footer with the script tag.

Avatar
Discard
Related Posts Replies Views Activity
2
दिस॰ 22
6112
0
मार्च 15
4634
0
दिस॰ 24
1157
0
नव॰ 24
1384
0
जन॰ 24
7128