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

[frontend] Client side JavaScript isn't bundled when the Astro dev server starts #3

Closed
simonplend opened this issue Sep 29, 2022 · 3 comments · Fixed by #21
Closed
Assignees

Comments

@simonplend
Copy link
Contributor

simonplend commented Sep 29, 2022

This affects the delete quote and like quote functionality. It appears to be an issue when using Astro with the @astrojs/tailwind integration.

Related Astro issue: Script file isn't loaded on start astro dev when using tailwindcss

@simonplend simonplend self-assigned this Sep 29, 2022
@simonplend
Copy link
Contributor Author

simonplend commented Oct 4, 2022

I'm attempting to implement this workaround: withastro/astro#4217 (comment)

In the meantime, my own workaround is to run the following command after starting the Astro dev server:

touch apps/movie-quotes-frontend/src/pages/index.astro

And then refresh the frontend quotes listing page in the web browser.

@mcollina
Copy link
Member

mcollina commented Oct 4, 2022

The workaround is not really working for me.

@mcollina
Copy link
Member

mcollina commented Oct 4, 2022

Nevermind, this was my bad.

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 a pull request may close this issue.

2 participants