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

Consider moving views to a separate folder under src #13

Closed
kungpaogao opened this issue Dec 10, 2019 · 0 comments · Fixed by #232
Closed

Consider moving views to a separate folder under src #13

kungpaogao opened this issue Dec 10, 2019 · 0 comments · Fixed by #232
Assignees

Comments

@kungpaogao
Copy link
Member

kungpaogao commented Dec 10, 2019

I think it would be helpful to separate out views (pages) to a separate folder, so it's easier for developers. Views should be the Vue components that are referenced by the router.

What I mean:

src
|- views
  |- Login.vue
  |- other pages ...
|- components
  |- Course.vue
  |- Card.vue
  |- other components ...

This is loosely based off the project structure of Nuxt.js: https://nuxtjs.org/guide/directory-structure

@willespencer willespencer self-assigned this Dec 30, 2019
@hahnbeelee hahnbeelee linked a pull request Dec 14, 2020 that will close this issue
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 a pull request may close this issue.

4 participants