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

Menus #86

Open
Jamiewarb opened this issue Dec 2, 2019 · 1 comment
Open

Menus #86

Jamiewarb opened this issue Dec 2, 2019 · 1 comment

Comments

@Jamiewarb
Copy link

Jamiewarb commented Dec 2, 2019

Hi there,

Thanks again for this brilliant starter kit.

I'm having some trouble working with the menus, and I wanted to know if you had any example code from your Nuxt app that you can share that would produce a nav menu? Particularly in the sense of preserving the correct ordering via the menu_order key.

It doesn't seem to be very straight forward to work this, so I'm hoping you guys can provide something in your example app to help get off the ground with it quickly.

@zachandblue
Copy link

Same. I spent the better part of a day on this. I was trying to to use 'nuxtServerInit' in my vuex store to get all of the menu items server-side. Pretty tricky when you start to add in nested menus. I got it to work, but still wasn't able to specify the order. IMHO you're almost better off using CPTs for this.

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

2 participants