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

feat: improves client side setup #6

Merged
merged 2 commits into from
Jul 26, 2024

Conversation

PedroAugustoRamalhoDuarte
Copy link
Contributor

@PedroAugustoRamalhoDuarte PedroAugustoRamalhoDuarte commented Jul 23, 2024

This PR improves the installation client side setup for all frontend options

References

inertiajs/inertiajs.com#338
https://inertia-rails.onrender.com/installation/client-side.html#install-dependencies

Copy link

netlify bot commented Jul 23, 2024

Deploy Preview for inertia-rails ready!

Name Link
🔨 Latest commit aeb6957
🔍 Latest deploy log https://app.netlify.com/sites/inertia-rails/deploys/66a01f76857479000856d5b7
😎 Deploy Preview https://deploy-preview-6--inertia-rails.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@skryukov
Copy link
Owner

Great addition! Do you plan to update vue & svelte installation instructions in this PR as well?

@PedroAugustoRamalhoDuarte
Copy link
Contributor Author

@skryukov Yes I can do that, let's change this PR to Draft

@PedroAugustoRamalhoDuarte PedroAugustoRamalhoDuarte marked this pull request as draft July 23, 2024 20:55
@PedroAugustoRamalhoDuarte PedroAugustoRamalhoDuarte changed the title feat: adding react packages to client side setup feat: improves client side setup Jul 23, 2024
@PedroAugustoRamalhoDuarte
Copy link
Contributor Author

@skryukov I was thinking if is worth to add the import React in the inertia.jsx entrypoints. If we do not use React vite plugin will break the page.

@PedroAugustoRamalhoDuarte PedroAugustoRamalhoDuarte marked this pull request as ready for review July 23, 2024 21:27
@skryukov
Copy link
Owner

I was thinking if is worth to add the import React in the inertia.jsx entrypoints. If we do not use React vite plugin will break the page.

The generator and docs are using a simple .js and not .jsx entrypoint. Does that change the requirement for import React?

@skryukov skryukov merged commit cb004dd into skryukov:main Jul 26, 2024
5 checks passed
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.

2 participants