Skip to content
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

Not working with nuxt #118

Open
AndreyYolkin opened this issue Jan 4, 2024 · 2 comments
Open

Not working with nuxt #118

AndreyYolkin opened this issue Jan 4, 2024 · 2 comments

Comments

@AndreyYolkin
Copy link

AndreyYolkin commented Jan 4, 2024

Environment


  • Operating System: Darwin
  • Node Version: v20.5.0
  • Nuxt Version: 3.8.2
  • CLI Version: 3.10.0
  • Nitro Version: 2.8.1
  • Package Manager: pnpm@8.10.5
  • Builder: -
  • User Config: modules, pinceau, typescript
  • Runtime Modules: @pinceau/nuxt@1.0.0-beta.29
  • Build Modules: -

Steps to reproduce:

  1. Clone this repo
  2. Run pnpm install
  3. (Optional) put tokens.config.ts with content:
import { defineTheme } from '@pinceau/theme'

export default defineTheme({
  color: {
    primary: {
      600: {
        initial: '#4352f4',
        dark: '#4352f4',
      },
    },
  },
})
  1. Run pnpm dev:nuxt

Expected behaviour

Screenshot was taken from playground

image

Current behaviour

image

Devtools

image
@fallsimply
Copy link

This looks like an issue with Pinceau and vite-plugin-inspect used in Nuxt DevTools. Try disabling Nuxt Dev Tools by setting devtools: { enabled: false } in your Nuxt config to see if that fixes the issue. Then the issue can be diagnosed from there!

@titocreatives
Copy link

titocreatives commented Mar 7, 2024

Hey, the original issue from @AndreyYolkin still persists.
Also the suggested devtools: { enabled: false } change by @fallsimply does throw an Error!

pinceau_nuxt_devtools_false

Stackblitz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants