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

Add a default CSS entrypoint #12

Merged
merged 1 commit into from
Jun 10, 2022
Merged

Conversation

jessarcher
Copy link
Member

To avoid a "flash of unstyled content" with server-rendered HTML (i.e. Blade), we need to have a separate CSS entry point rather than importing CSS via a JavaScript entry point.

This PR adds Laravel's default CSS entry point as a default for the plugin, as there is no harm in doing so for SPA applications as well.

@timacdonald timacdonald merged commit 3be1d53 into main Jun 10, 2022
@jessarcher jessarcher deleted the add-css-default-entrypoint branch June 10, 2022 07:02
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