nuxt-highlightjs icon indicating copy to clipboard operation
nuxt-highlightjs copied to clipboard

Cannot start nuxt: Cannot read property 'options' of undefined

Open hixb opened this issue 2 years ago • 1 comments

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>

hixb avatar Jan 18 '23 04:01 hixb

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

madebyfabian avatar Jan 24 '23 14:01 madebyfabian