Open Dariom92 opened 2 years ago
If you open up the Javascript console in your browser, what does it say?
Also, what files are in the docs/site_libs/quarto-contrib/
subdirectory? There should be shinylive-0.0.11
and shinylive-quarto-css
.
If you open up the Javascript console in your browser, what does it say?
Also, what files are in the
docs/site_libs/quarto-contrib/
subdirectory? There should beshinylive-0.0.11
andshinylive-quarto-css
.
You are correct there were some errors in the javascript console please see below.
I am not sure what "docs" folder are you referring to sorry. The extension is in the same folder as the quarto project under _extensions
if that's what you mean.
EDIT: Sorry I have found two folders with the names you mention in the project area under ShinyQuatro_files/libs/quarto-contrib
I think the problem is that you're trying to open the file directly (via a file:///
URL) instead of through a web server (via http://
or https://
URL). You can use quarto preview
to load it with a web server.
For security reasons, more and more modern JS and WASM code needs to be loaded through a web server.
I am unable to get the example code shown on the readme to correctly render as a shiny app on windows 10. I created a quarto project with the below files an ran
quarto render
and got the following output:The rendered .html just shows the code in the shinylive python cell as plain text rather than showing the app itself.
Quartro version: 1.2.247 python version: 3.9.13
ShinyQuarto.qmd
_quarto.yml