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

Primevue 4 Design Tokens: Bug when transpile Build #6217

Closed
Ed1ks opened this issue Aug 12, 2024 · 2 comments
Closed

Primevue 4 Design Tokens: Bug when transpile Build #6217

Ed1ks opened this issue Aug 12, 2024 · 2 comments
Assignees
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone

Comments

@Ed1ks
Copy link

Ed1ks commented Aug 12, 2024

Describe the bug

Hello,
if this code is in nuxt.config.ts, the updatePreset() method aint working anymore:

 build: {
    transpile: ['nuxt', 'primevue', 'formkit-primevue']
  },

Reproducer

https://stackblitz.com/edit/nuxt-starter-tuvwb8

PrimeVue version

4.0.2

Vue version

3.x

Language

TypeScript

Build / Runtime

Nuxt

Browser(s)

Edge

Steps to reproduce the behavior

  1. Go to nuxt.config.ts
  2. add code mentioned

(or open stackblitz link)

  1. open theme editor in Toolbar

  2. change color/theme

  3. -> not working

  4. remove code and start dev again

  5. working

Expected behavior

changing color

@Ed1ks Ed1ks added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Aug 12, 2024
@tixlag
Copy link

tixlag commented Oct 7, 2024

Iam used primevue 4.0.7. The same problem

@mingardia
Copy link

Add '@primevue/themes' to the transpile and it will work ie. transpile: ['nuxt', 'primevue','@primevue/themes'],

@mertsincan mertsincan added Status: Pending Review Issue or pull request is being reviewed by Core Team and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Nov 26, 2024
@mertsincan mertsincan added this to the 4.3.0 milestone Nov 26, 2024
@mertsincan mertsincan removed this from PrimeNG Nov 26, 2024
@mertsincan mertsincan modified the milestones: 4.3.1, 4.3.0 Jan 6, 2025
@mertsincan mertsincan moved this to Review in PrimeVue Jan 6, 2025
@mertsincan mertsincan added Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add and removed Status: Pending Review Issue or pull request is being reviewed by Core Team labels Jan 13, 2025
@github-project-automation github-project-automation bot moved this from Review to Done in PrimeVue Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Issue contains an enhancement related to a specific component. Additional functionality has been add
Projects
Status: Done
Development

No branches or pull requests

4 participants