It seems not to work...
dmonin opened this issue · comments
Thanks for sharing this nice extension. It looks great on the preview screenshots, and I wish to make it working. Though to some reason it doesn't show the preview.
It seems like it doing something, I can change background etc. If Svelte Template contains an error it doesn't show anything (black background instead of background color I setup)...
Do I need to have certain extensions or certain setup of the project, or anything else?
(starting with an empty project now).
Would appreciate any help.
Try downloading the release I uploaded today manually: https://github.com/rafalou38/svelte-preview/releases/tag/2.1.0
(not yet uploaded to the vscode store)
If it still doesn't work, run this vscode command :
workbench.action.webview.openDeveloperTools
And send the content of the console when opening the preview.
Also for the extension to work you need svelte installed in your node_modules.
so try running
npm i svelte
or
yarn add svelte
Running without svelte installed is planned but not available yet.
@rafalou38 perfect, the new version works like a charm. thanks a lot!