Using laravel mix #2987
Unanswered
sys-auditing
asked this question in
Q&A
Replies: 2 comments 1 reply
-
We make a library, not the framework. So I can't really help you with that. However, following their documentation and our documentation should give you all the information you need. Also, Laravel seems to be using Prism on their website, so looking up the website's source (if available) might be a good idea. If that doesn't help, I recommend asking this question on a Laravel discussion page (if any) or StackOverflow. |
Beta Was this translation helpful? Give feedback.
1 reply
-
I have just figured out the issue.
window.Prism = require('prismjs');
require('prismjs/components/prism-markup-templating');
require('prismjs/components/prism-bash');
require('prismjs/components/prism-php');
Prism.highlightAll();
@import "~prismjs/themes/prism.css"; Thank you |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, i would like to use PrismJS with laravel mix (webpack).
How can i achieve that ?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions