You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to only use Dioxus Fullstack for the Web platform, so I have to separately add fullstack to the web and server features, but this disables the fullstack, i.e., the build is broken/not working in the end.
Even though this is not the expected usage, I think it's valid, since it reduces the bloat during development for other platforms and for the release binaries for these platforms.
Steps To Reproduce
Steps to reproduce the behavior:
dx new test --subtemplate Bare-Bones -o is_fullstack=false -o is_router=false -o is_tailwind=false -o default_platform=web
cd test
sed '/default/d' Cargo.toml | sd 'web"]' 'web", "dioxus/fullstack"]' | sed '/web/iserver = ["dioxus/server", "dioxus/fullstack"]' | sponge Cargo.toml
dx serve --platform web
Expected behavior
It should be the same as doing
dx new test --subtemplate Bare-Bones -o is_fullstack=true -o is_router=false -o is_tailwind=false -o default_platform=web
Problem
I want to only use Dioxus Fullstack for the Web platform, so I have to separately add fullstack to the web and server features, but this disables the fullstack, i.e., the build is broken/not working in the end.
Even though this is not the expected usage, I think it's valid, since it reduces the bloat during development for other platforms and for the release binaries for these platforms.
Steps To Reproduce
Steps to reproduce the behavior:
dx new test --subtemplate Bare-Bones -o is_fullstack=false -o is_router=false -o is_tailwind=false -o default_platform=web
cd test
sed '/default/d' Cargo.toml | sd 'web"]' 'web", "dioxus/fullstack"]' | sed '/web/iserver = ["dioxus/server", "dioxus/fullstack"]' | sponge Cargo.toml
dx serve --platform web
Expected behavior
It should be the same as doing
dx new test --subtemplate Bare-Bones -o is_fullstack=true -o is_router=false -o is_tailwind=false -o default_platform=web
cd test
dx serve --platform web
Environment:
Questionnaire
I'm interested in fixing this myself but don't know where to start.
I don't have time to fix this right now, but maybe later.
The text was updated successfully, but these errors were encountered: