stackblitz / tutorialkit

TutorialKit by StackBlitz - Create interactive tutorials powered by the WebContainer API
https://tutorialkit.dev
MIT License
503 stars 48 forks source link

No preview & styling issues. #382

Closed MirjamElad closed 1 month ago

MirjamElad commented 1 month ago

Describe the bug

Hello everyone & thank you for this promissing "framework",

I just started testing tutorialkit less than three hours ago (Meaning the very last release at the time of me writing this message). Upon running > pnpm create tutorial and without making any changes. I get a result on (see first image) http://localhost:4321/1-basics/1-introduction/1-welcome that doesn't have a proper preview, also styling seems wrong and doesn't match what Tomek Sułkowski's presentation shows (see seconde image)

The main screen on my machine image

The main screen as presented by Tomek Sułkowski here: Tomek Sułkowski | TutorialKit: In-Browser Teaching for All! | ViteConf 2024 image

Note that I am on a Windows 11 machine and I use VsCode (not that it should matter)

Link to a StackBlitz project which shows the error

No response

Steps to reproduce

As I said earlier. Nothing special, I just run the project as specified in the guide

Expected behavior

I'd expect it to work as advertized. Again, I did not add a single character, just run it and the result were not as described above.

Screenshots

image

Platform

Additional context

No response

AriPerkkio commented 1 month ago

I can reproduce this on Windows.

image

This is very similar to issues below. We definitely need to improve testing on Windows CI.

MirjamElad commented 1 month ago

The suggested windows fix is no longer straight forward to apply. uno.config.ts is now basicaly empty

AriPerkkio commented 1 month ago

Yep, that old work-around won't work for this one unfortunately. We will prioritise this issue in the beginning on next week and get this fixed as soon as possible.

AriPerkkio commented 1 month ago

This is now fixed and released in v1.1.1.