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

order and architecture of vue files #1544

Closed
jbibla opened this issue Nov 8, 2018 · 3 comments · Fixed by #1600
Closed

order and architecture of vue files #1544

jbibla opened this issue Nov 8, 2018 · 3 comments · Fixed by #1600
Assignees
Labels

Comments

@jbibla
Copy link
Collaborator

jbibla commented Nov 8, 2018

it would be nice if we could agree on the order of the <script> section of our vue files and enforce these rules.

  • order of imports
  • name, computed, data, props, methods etc...
@jbibla jbibla changed the title order of vue files order and architecture of vue files Nov 8, 2018
@jbibla
Copy link
Collaborator Author

jbibla commented Nov 13, 2018

we should use a tool to do this - if it exists

@faboweb
Copy link
Collaborator

faboweb commented Nov 13, 2018

maybe a prettier plugin for vue

@faboweb
Copy link
Collaborator

faboweb commented Nov 13, 2018

maybe eslint > sort object properties

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants