-
-
Notifications
You must be signed in to change notification settings - Fork 697
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
Tutorial docs/guide #364
Comments
How about a section on integrating CSS frameworks like tailwind, windi, bootstrap etc. |
U just need to add their stylesheet and use classes for components id imagine |
I think this is a good place for us to create a webapp with As far as topics, here are some obscure ones:
|
This might be me being a beginner in Rust and dabbling around, but I ran into two "issues":
I understand that leptos is very young and that I'm personally very inexperienced in both Rust and Webassembly. So this very well might be a me problem/me not being the right audience. Just throwing this out there as a first impression, in case it might make sense to spell it out in the docs for people like me |
Right, there are two totally separate ways to run a Leptos app: the starter uses
I'd encourage you to raise this in our Discord or in a GitHub Discussion, just so we can keep this thread focused on the docs. But maybe "Deployment" is something I should add to the docs todo! |
I'm very interested in the state management part of this. I have found a couple of different crates that do a Redux pattern. |
Complete Leptos newbie here. Feedback on the "Getting Started" section. I hit three issues when running
Moving up to the repo root, installing nightly Rust and installing the wasm32 target with |
Thanks — I've added a couple notes that clarify all this in #618 |
@gbj: I'm going through the guide, which looks fantastic. However, there are some issues with the CodeSandbox examples, which make them very frustrating to interact with: On a 14-inch display, the default layout is not usable. The left sidebar takes 2/5 of the available space, so that the code isn't completely visible, and there isn't even a horizontal scrollbar. The height of the If the sidekick layer is open (which displays the rendered app), it overlays the code (making even less code readable). It's possible to change the layout, but there are many issues with that.
On top of that, I tried with Chromium and Firefox, which both behave the same. If I open a CodeSandbox playground in its own tab, then things seem to work ( So my assumption is, that there is an issue with how the examples are embedded (maybe the iframe doesn't have the right permissions, or something like that). My workaround (in case anybody has similar issues), is to get the URL of the iframe (via I think, it would be good if there was a link above the examples to easily open them in a tab. Also, in the terminal of the playgrounds I see the following:
Besides that, as mentioned, the guide looks great :) |
@d4h0 Thanks for the feedback. I've updated it to add a link for each sandbox, which should help. CodeSandbox does not provide (afaik) ways to do things like close tabs (the |
@gbj: Thank you, this is much better. Btw., CodeSandbox seems to keep 'view'-related settings over page reloads, so the sidebar and sidekick only needs to be removed once. |
Going through the book right now, so far so good! One minor issue i ran into, in chapter 02_dynamic_attributes.html section "Dynamic Classes", maybe it's an idea to add one line that says "don't forget to add the css class to index.html". |
Thanks, just added something here. |
The link specified in the main comment:
Is no longer valid. |
#1152 contains a request for some input on deployment, the final topic. So I'm closing this issue as completed, with much love for you all for your feedback. |
I'm working on the long-awaited intro-level guide/tutorial docs.
I'm building a CodeSandbox example with comments per unit. I'll do a write-up tutorial for each segment, and probably eventually a short video.
I'd like some help: which topics are missing here? What do you think is important to emphasize? What other feedback do you have?
UPDATE: You can track progress on this in #375: the book lives indocs/book
.Link to deployed book.
Here's my comprehensive list of topics
view
<For/>
)create_effect
<Routes/>
<A/>
<Form/>
leptos_meta
The text was updated successfully, but these errors were encountered: