-
Notifications
You must be signed in to change notification settings - Fork 0
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
Svelte/dev #7
Svelte/dev #7
Conversation
add: step 5 (tests) fix: swapped 'svelte-spa-router' routing library for 'svelte-routing' because SPR use hash-based routing and the urls aren't 'clean'
npm run dev | ||
``` | ||
|
||
If you get a page with the Vite and the Svelte logos, then you can continue 🚀 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add an image so they don't get confused about what the exact result should look like?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added images previews for each step (except the step 4 about Cypress)
I also updated the README to follow the template you talked about
Install all the packages we're going to use for this day: | ||
|
||
```sh | ||
npm i svelte-routing cypress flowbite flowbite-svelte |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
npm i -> npm install
Always better to add more details
software/day05/Svelte/README.md
Outdated
|
||
**Requirements:** | ||
- The Home page must contain: | ||
- A `Button` to the Register page. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Instead of adding "A Button" each time they need to create a button you can tell: Create 2 buttons to register or login into the page.
Same the for the othert tasks.
software/day05/Svelte/README.md
Outdated
- You must create the file `src/pages/Login.svelte`. | ||
- You must create the file `src/app/Routes.svelte` with a Svelte Component containing the Routes inside, called in `src/App.svelte`. | ||
|
||
**Tips:** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replace Tips by Documentation
software/day05/Svelte/README.md
Outdated
> Try to display the `rating` using 5 stars ⭐ | ||
|
||
**Tips:** | ||
- The Flowbite Svelte [Gallery](https://flowbite-svelte.com/docs/components/gallery#mainContent), [Navbar](https://flowbite-svelte.com/docs/components/navbar), [Link][https://flowbite-svelte.com/docs/typography/link] and [Rating](https://flowbite-svelte.com/docs/components/rating) components will be useful for this dashboard 😉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[Link][https://flowbite-svelte.com/docs/typography/link]
Link
|
||
|
||
*** | ||
### **⚠️ Important note ⚠️** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe adding 1 or 2 bonuses? Don't need to do a correction for the bonuses tho.
Description
We wrote the first steps of the Svelte subject for day 5.
Changes include
Checklist