No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Prismjs and Quasar

    Help
    3
    3
    659
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      joefly last edited by

      I’m making some personal notes for Quasar-Framework and I’d like to display some javascript code using Prismjs.

      I placed the prism.js and prism.css files in my “statics” folder and I’m referencing them in the <head> section of index.html:

      <!-- Prismjs -->
          <script src="statics/scripts/prism.js"></script>
          <link rel="stylesheet" href="statics/styles/prism.css">
      

      I’m not getting any errors, but the syntax is not being styled correctly.

      What do I need to do to get Prismjs to work with Quasar?

      Thanks for your help 🙂

      1 Reply Last reply Reply Quote 0
      • R
        reggie last edited by

        did you ever figure this out? I’m looking at the same thing.

        1 Reply Last reply Reply Quote 0
        • ssuess
          ssuess last edited by

          https://vue-prism.netlify.com/

          1 Reply Last reply Reply Quote 0
          • First post
            Last post