Improvements to the Framework Initial Project Interface#41
Improvements to the Framework Initial Project Interface#41VitorCarvalho67 wants to merge 1 commit intoleptos-rs:mainfrom
Conversation
|
Thanks for your contribution. From my perspective: Pros
Cons
For me, the negative outweighs the positive here. But I can understand the appeal and am open to being wrong. |
|
Thank you for responding, and I'm glad you consider it a positive point for those starting their first project. However, I somewhat disagree with what you call a con. For example, JavaScript frameworks often contain much more code that needs to be deleted to start a clean project, especially when using Vite. |
|
Hey, you're both spot on! Just to add a bit of context from a Leptos newbie's perspective—I'm all in on this framework from now on. Things are pretty clear now, but I still think these kinds of improvements should be on the main website and in the examples. To attract developers who use Vite, Vue, or other frameworks, I think the official page and community events need to be stronger. The RustNation UK presentation showed Leptos' potential, but it might not be that appealing to people who don't know Rust and just want a pretty site without much effort (which is what a lot of frameworks with complex templates do, and you end up not using half of it). So, I'd say keep the templates as bare-bones as possible. The less you have to delete, the better the developer experience—I'm definitely speaking from personal experience here! Maybe as a template improvement, you could add options for including Tailwind CSS or Bulma with something like --style tailwind (but that's a whole other topic) XD Regards and super awesome work @gbj |
Framework Interface and Assets Updates
Description
This PR introduces significant improvements to the user interface of the framework, with updates to the
app.rsandmain.scssfiles. Additionally, a new image has been added to the assets to enhance the visual interface of the project.Changes
User Interface (UI) Improvements:
app.rs: Updates to the rendering logic to enhance the user experience.main.scss: Adjustments to the styles to improve the visual appearance of the standard interface.Asset Addition:
Reason
The changes were made to enhance the user experience, modernize the framework's interface, and make it more attractive and intuitive for developers and end-users.
Impact
These updates are expected to improve user satisfaction with the framework, increase ease of use, and promote a more enjoyable interaction with the project's interface.
Screenshot