We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Saas App with client side rendering
Description
When executing loco newand choosing What would you like to build? · Saas App with client side rendering, some code only relevant to SSR is created.
loco new
What would you like to build? · Saas App with client side rendering
To Reproduce
❯ What would you like to build? · Saas App with client side rendering
Expected Behavior
Specifically the following items are created which are not necessary:
impl Hooks for App
app.rs
ViewEngine
initializers/view_engine.rs
asset
fluent-templates
unic-langid
Cargo.toml
Environment: loco 0.13.3 and rustc 1.83.0 (90b35a623 2024-11-26) stable linux toolchain.
loco 0.13.3
rustc 1.83.0 (90b35a623 2024-11-26)
Additional Context
Discovered while trying out different CSR UI frameworks
The text was updated successfully, but these errors were encountered:
Also, I would like to volunteer to work on this :) Sounds like good first issue to me 😃
Sorry, something went wrong.
@JonasCir go for it. let me know if your need help
No branches or pull requests
Description
When executing
loco new
and choosingWhat would you like to build? · Saas App with client side rendering
, some code only relevant to SSR is created.To Reproduce
loco new
❯ What would you like to build? · Saas App with client side rendering
Expected Behavior
Specifically the following items are created which are not necessary:
impl Hooks for App
section inapp.rs
contains the initializer forViewEngine
, not necessary for CSRinitializers/view_engine.rs
is not needed for CSR, the file and corresponding mod declarations and imports can be removedasset
folder contains subfolder with unnecessary items. All of them can be removed.fluent-templates
andunic-langid
dependency can be removed fromCargo.toml
Environment:
loco 0.13.3
andrustc 1.83.0 (90b35a623 2024-11-26)
stable linux toolchain.Additional Context
Discovered while trying out different CSR UI frameworks
The text was updated successfully, but these errors were encountered: