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

Does not currently work with SwiftWebUI (Carson-katri fork)... #2

Open
rott215dog opened this issue Jul 31, 2021 · 3 comments
Open

Comments

@rott215dog
Copy link

When you try to compile this while using the Carson-katri fork of SwiftWebUI, you will get the following error:
"The package product 'SwiftWebUI' requires minimum platform version 10.15 for the macOS platform, but this target supports 10.10"

@carson-katri
Copy link
Owner

You should be building with the SwiftWasm toolchain for the web, not macOS. But maybe try adding platforms: [.macOS(.v10_15)] to the Package.swift

Also, I’ve been focusing my development efforts on Tokamak recently, if you’d want to check that out.

@rott215dog
Copy link
Author

I have decided to switch to Tokamak, but out of curiosity, does it support routing?

@carson-katri
Copy link
Owner

There’s no builtin routing at the moment. You could maybe look at this demo to write your own solution: https://github.com/TokamakUI/Tokamak/blob/main/Sources/TokamakDemo/URLHashDemo.swift

It’s also planned to support routing with this package eventually: https://github.com/carson-katri/router

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

2 participants