leptos-rs / book

The home for the Leptos book, which can be found deployed at https://book.leptos.dev
MIT License
80 stars 60 forks source link

Where is the source code used in the book? #14

Closed felixf4xu closed 10 months ago

felixf4xu commented 10 months ago

Hi,

I would like to download and open the source in my local vscode then press F12 and jump into the source code of leptos or any other librarys.

Any link of the source code pack so that I can download?

gbj commented 10 months ago

I'm not sure what you're asking.

Do you mean: 1) Where is the source code for the book? (it's this repo) 2) Where is the source code for Leptos? (it's https://github.com/leptos-rs/leptos) 3) Is there a repository that contains all the examples in the book in one place? (there's not)

felixf4xu commented 10 months ago

I mean the example code open at codesandbox.io

gbj commented 10 months ago

Every embedded sandbox is immediately followed by an HTML <details> tag labeled "CodeSandbox Source", which should include a text version of the identical source code. (Clicking "Open Editor" in the top-right corner of the sandbox also gives you the full CodeSandbox environment with all the files.)

felixf4xu commented 10 months ago

thanks, I found that all I need is to click this: image