Skip to content

refactor: extract the functions from layout to mixins #314

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

Closed
wants to merge 1 commit into from

Conversation

meteorlxy
Copy link
Member

@meteorlxy meteorlxy commented May 1, 2018

Currently, there are so many functions in Layout.vue in default theme.

I propose to extract them into mixins for better maintainability.

In addition, users can import them from '@default-theme/mixins' directly if they need these functions in custom theme.

@ulivz
Copy link
Member

ulivz commented May 13, 2018

Closing this due to these two fixes: fcaee80 & 3727153.

@ulivz ulivz closed this May 13, 2018
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 this pull request may close these issues.

2 participants