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

Active Classes in b-menu Not Working with npm Package in Vue 3 Migration #297

Open
wesdevpro opened this issue Dec 14, 2024 · 0 comments
Open

Comments

@wesdevpro
Copy link

Generated using Copilot from Messages in the Buefy Discord

Buefy version: ?.?.?
Vuejs version: ?.?.?
OS/Browser:

Description:
Coming from the first stages of migration to Vue 3, I initially had to enter the git URL in package.json ("buefy": "https://github.com/ntohq/buefy-next") to make it work. Switching from that to the current node module via yarn remove buefy and yarn add buefy@npm:@ntohq/buefy-next causes the active classes in b-menu not to work (:class="{ 'is-active': menuPageIndex === activePage }"). If I revert back to the git URL, everything works fine. This issue persists regardless of whether I use Node 18.20.4 or 22.11.0.

Steps to Reproduce:

Migrate to Vue 3 and update package.json with the git URL "buefy": "https://github.com/ntohq/buefy-next".
Switch to the node module via yarn remove buefy and yarn add buefy@npm:@ntohq/buefy-next.
Observe that active classes in b-menu no longer work.

Expected Behavior:

Active classes in b-menu should work correctly with the node module as they do with the git URL.

Environment:

Node version: 18.20.4 and 22.11.0
Package version: @ntohq/buefy-next

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

1 participant