Open devinschumacher opened 2 days ago
It depends how much you want to preserve the current ordering; but this is something that eslint can autofix, meaning it should be possible to run pnpm eslint --fix
to automatically reorder those after scaffolding / adding. It'll also reorder them the first time you save in your editor.
But if you want to be consistent with shadcn etc we can also just change the rule and run fix on the project to update; easy either way.
plot twist. i found this in the docs which is very convenient: https://nuxt.com/docs/api/commands/add
it allows you to quickly scaffold up file starters for things like pages/layouts/components/etc. with all the default sections, etc.
but it uses this order:
i think we had decided on doing:
but that would mean we cant use this which would kinda be a waste of a time saver.
thoughts? @dawaltconley
Same with shadcn-vue components, example: