* Remove whitespace in website tutorial
* Update index.mdx
Remove whitespace in tutorial.
* Add more information to website.
Changes to be committed:
modified: website/docs/tutorial/index.mdx
modified: website/versioned_docs/version-0.20/getting-started/build-a-sample-app.mdx
modified: website/versioned_docs/version-0.20/tutorial/index.mdx
* Remove error: doctest failed, to rerun pass `-p website-test --doc`
Changes to be committed:
modified: website/docs/migration-guides/yew/from-0_18_0-to-0_19_0.mdx
* Correction of minor mistakes in website.
Changes to be committed:
modified: website/docs/getting-started/build-a-sample-app.mdx
modified: website/docs/tutorial/index.mdx
modified: website/versioned_docs/version-0.20/getting-started/build-a-sample-app.mdx
modified: website/versioned_docs/version-0.20/tutorial/index.mdx
* Run Prettier
Changes to be committed:
new file: package-lock.json
modified: website/docs/tutorial/index.mdx
modified: website/package-lock.json
modified: website/package.json
modified: website/versioned_docs/version-0.20/getting-started/build-a-sample-app.mdx
That might be obvious for some, but it took me a few hours to figure out that `sqlx` is actually not `wasm32` compatible.
Funny enough, `cargo build` was working just fine, but `trunk serve` was failing with a very misleading error about `openssl`.
Maybe one day that small note will save a few hours to someone else
* Use keyed lists in tutorial example
The example should follow best practices such as using keyed lists.
* Add keys explanation when it is first introduced
* Fix link to keyed lists
* Add forgotten key prop
* Fix code listing in tutorial/index.mdx
Sync with line 358
* update latest tutorial
Changes here should be enough
Co-authored-by: Muhammad Hamza <muhammadhamza1311@gmail.com>
* [tutorial] Add missing import
At line 474, we declare reqwasm and serde but we doesn't add them in scope.
This change is to add the import of Deserialize and Request
* [tutorial] Correct missing import
Correct the missing import declaration by adding it
in the next snippet
* Update PR to resolve the issues
This PR has been blocked for months. I'm updating it so we can merge it
* Apply suggestions from code review
Co-authored-by: Yohan GOUZERH <yohan.gouzerh@viseo.com>
Co-authored-by: Muhammad Hamza <muhammadhamza1311@gmail.com>
* Docs overhaul part2
* fix links and require them for CI
* remove translations for 0.17
* remove a bunch of unused documentation
* run prettier
* fixup links and locations of some translations
* add prettier
* ci
* run prettier
* run prettier in CI
* run prettier --write
* ignore README.md
* specify googleAnalytics
* fmt
* npm run write-translations
* fmt
* ignore i18n json files
they're autogenerated and don't like being formatted
* post merge fixes & some updates
* post merge fixes
* docs: added a screenshot of an example
* Added the screenshot
* Update index.mdx
* Update website/versioned_docs/version-0.19.0/tutorial/index.mdx
Co-authored-by: Julius Lungys <32368314+voidpumpkin@users.noreply.github.com>
* Rename screenshot
* Delete screenshot.png
* Update index.mdx
Co-authored-by: Julius Lungys <32368314+voidpumpkin@users.noreply.github.com>