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

Remove scoped from App.vue #239

Merged
merged 1 commit into from May 13, 2024
Merged

Conversation

emersonthis
Copy link
Contributor

The thinking behind this change is that App.vue is hosting global styles that definitionally should leak. The use of scoped prevents this from happening, so it feels awkward/counter-intuitive for "global" styles to be scoped to the parent component (only) and not applicable to it's children. If the goal is to write styles that are specific to the nav or the header only, perhaps those should live in individual components or maybe PageLayout component that's designed to be added to each page/screen?

Copy link
Owner

@bencodezen bencodezen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are totally right! This is definitely an artifact from the boilerplate, so I appreciate your attention to detail on this!

@bencodezen bencodezen merged commit 7b6aeef into bencodezen:main May 13, 2024
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.

None yet

2 participants