Replies: 1 comment
-
|
I have the same problem with .json files... I'm still looking for definitive solution |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Description:
Hi! I’d like to know if there’s a way to prevent Nuxt Studio from automatically sorting YAML files.
Currently, I have a specific structure in my YAML files — for example:
But when I open the file in Nuxt Studio, it gets re-sorted alphabetically, like this:
This breaks the intended order of my content and makes it harder to manage.
Question:
Is there a configuration option or a way to disable YAML auto-sorting in Nuxt Studio?
If not, is there any recommended workaround to preserve key order?
Thank you so much.
Beta Was this translation helpful? Give feedback.
All reactions