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

Improved instructions for Nuxt #54

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

leogargioni
Copy link

Added missing steps, updated old ones and added link to a working version (repo fork) to make it easier for those willing to test.

Comment on lines +334 to +339
const componentClass = computed(() => {
if (props.item.to) {
// return RouterLink
return NuxtLink
}
})
Copy link

@anasark anasark Dec 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, I don't understand this, can you give a proper example?

because if I search for the text RouterLink in all files, there is already a const componentClass

example:

const componentClass = computed(() => [
props.isDropdownList ? 'py-3 px-6 text-sm' : 'py-3',
hasColor.value
? getButtonColor(props.item.color, false, true)
: `aside-menu-item dark:text-slate-300 dark:hover:text-white`
])

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

Successfully merging this pull request may close these issues.

2 participants