Skip to content

Conflicts with newer Nuxt3 rc-3 with newly nuxt/content #1545

Discussion options

You must be logged in to vote

Hi,

found a fix for the problem above, described in the nuxt/framework issues: https://github.com/nuxt/framework/issues/4747

The solution is to add the '@headlessui/vue' in the build.transpile at the nuxt.config.tsfile:

import { defineNuxtConfig } from 'nuxt'

export default defineNuxtConfig({
  srcDir: 'src/',
  buildModules: ['@nuxtjs/tailwindcss', '@pinia/nuxt'],
  modules: ['nuxt-jsonld', '@nuxt/content'],
  plugins: [],
 
  build: {
    extractCSS: true,
    transpile: ['@headlessui/vue'],
  },
})

Hope it helps, but I think it isadvisable to take a look into it to prevent this WARN to occur.
RS

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@PeteJStewart
Comment options

@roelmagdaleno
Comment options

Answer selected by robertoshimizu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #1543 on June 02, 2022 09:09.