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

Use injectRoute to inject admin dashboard #30

Merged
merged 1 commit into from
Oct 23, 2022
Merged

Use injectRoute to inject admin dashboard #30

merged 1 commit into from
Oct 23, 2022

Conversation

delucis
Copy link
Owner

@delucis delucis commented Oct 23, 2022

This PR heavily refactors the integration to make use of Astro’s built-in injectRoute helper instead of the flaky, hand-rolled page injection logic we were using up until now (which dated to before injectRoute’s existence).

This significantly simplifies things and should make future improvements easier to implement.

@changeset-bot
Copy link

changeset-bot bot commented Oct 23, 2022

🦋 Changeset detected

Latest commit: 713da8a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
astro-netlify-cms Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@delucis delucis merged commit 6757440 into latest Oct 23, 2022
@delucis delucis deleted the inject-route branch October 23, 2022 22:26
@github-actions github-actions bot mentioned this pull request Oct 23, 2022
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.

1 participant