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

Separate layout and partial into different folder in the default theme. #593

Closed
arkceajin opened this issue Jun 15, 2018 · 2 comments
Closed

Comments

@arkceajin
Copy link

Advice

The entire project files of the default theme were put into single folder theme.
Home.vue, Layout.vue, serach.svg, util.js...

How about separate them into different folder structurally. Eg. layout partial js...

@meteorlxy
Copy link
Member

Yes, I think so.

At present, only Layout.vue, NotFound.vue, enhanceApp.js are necessary to be placed in the root of theme dir. my custom theme

@ulivz
Copy link
Member

ulivz commented Jun 16, 2018

Thanks for your suggestion, but the number of files isn't too much and most of time you will not touch the source files.

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

3 participants