@Hawkeye64 I actually got it to work, don’t know if it’s the best solution (probably not), but seems to work just fine:
- I cloned the prism repo.
- made a folder in my project
- copied ONLY the file
components/prism-markup-templating.min.js(does not work without this file), and then imported it in my project before the export default.
- Then did the same for every language that I wanted to use (just like 5 in my case and 6 files copied in total).
import('@/prismjs/components/prism-markup-templating.min.js') import('@/prismjs/components/prism-php.min.js') import('@/prismjs/components/prism-python.min.js')
Hope it helps someone else. Or better, maybe someone else has a better solution/implementation.
I will mark this as solved for the moment.