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
Request help, how to use in nuxt #11
Comments
any update on this issue? |
Hmm I haven't tested it with Nuxt but it should just work, anything went wrong? |
HI @egoist i tried with nuxt and it is working perfectly. Thank you for making this component. I just added as plugins in nuxt with no ssr. |
Hi, @egoist ,I used it in the nuxt project (plugin-->ssr:false) and after the refresh I got a "Mismatching childNodes vs. VNodes: NodeList [prism]" error. |
you can also try this in your HTML or directly import module in your page like this : import 'prismjs'
import 'prismjs/themes/prism.css'
import Prism from 'vue-prism-component'
export default {
components: {
Prism
},
} |
For use with SSR add to nuxt.config: build: {
transpile: ['prismjs'],
}, |
No description provided.
The text was updated successfully, but these errors were encountered: