nuxt-highlightjs
nuxt-highlightjs copied to clipboard
Cannot start nuxt: Cannot read property 'options' of undefined
Nuxt version
3.0.0
Node version
14.21.2
Specific error
Cannot restart nuxt: Cannot read property 'options' of undefined
Steps to reproduce
nuxt.config.ts
export default defineNuxtConfig({
modules: ["nuxt-highlightjs"]
})
index.vue
<pre>
<code v-highlight class="javascript">console.log('Hello World')</code>
</pre>
Because it's not for Nuxt 3 it seems: https://github.com/Llang8/nuxt-highlightjs/issues/7 See https://github.com/Llang8/nuxt-highlightjs/issues/7#issuecomment-1402043719