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

Cloudflare Deployment #3601

Open
r0wdiggity opened this issue Jan 20, 2025 · 1 comment
Open

Cloudflare Deployment #3601

r0wdiggity opened this issue Jan 20, 2025 · 1 comment

Comments

@r0wdiggity
Copy link

r0wdiggity commented Jan 20, 2025

I have a client app deployed successfully to Cloudflare Pages. I have read the docs and the issues here that I could find with references to Cloudflare. The docs say a WASM build needs to be done manually, but I am not sure how to do that. I also see that the Wrangler project is needed, but I have not really been able to get that working or able to find the entry point file, or configured or however it needs to be done. There is workers-rs which I know fits in somewhere, just not sure if that is for accessing other thigs or how it fits. I am just looking for guidance or docs that show this? The links in this repo point to leptos, but I dont see how to translate the leptos commands to dx commands, or if they go to cargo commands? Thank you for your support, this is an exciting project.

@r0wdiggity
Copy link
Author

here is my current wrangler.toml

name = "dioxus-cf"
main = "build/worker/shim.mjs"
compatibility_date = "2025-01-20"

[build]
command = "dx bundle --platform web --release --target wasm32-unknown-unknown"

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

No branches or pull requests

1 participant