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

Docs porting addons to v2 co location #1772

Merged
merged 2 commits into from
Jan 31, 2024
Merged

Docs porting addons to v2 co location #1772

merged 2 commits into from
Jan 31, 2024

Conversation

BlueCutOfficial
Copy link
Collaborator

This PR is a proposal to add co-location to the list of pre-requisites to check before starting the conversion actions.

Although co-location has been the recommended structure for a while, there are popular addons still not using it (probably because it's not "essential" refactoring). I came across that case while migrating an addon, and in order to test the documentation, I decided to ignore my intuition and see what happens with a templates/components folder. The .js and .hbs seemed to be compiled as 2 different components, the second being template-only.

Copy link
Collaborator

@NullVoxPopuli NullVoxPopuli left a comment

Choose a reason for hiding this comment

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

Thank you!

@mansona mansona merged commit 7f81070 into embroider-build:main Jan 31, 2024
91 of 93 checks passed
@github-actions github-actions bot mentioned this pull request Jan 31, 2024
@BlueCutOfficial BlueCutOfficial deleted the docs-porting-addons-to-v2-co-location branch February 1, 2024 08:31
@github-actions github-actions bot mentioned this pull request Apr 4, 2024
@github-actions github-actions bot mentioned this pull request Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants