Jump to content

Quokka Live Javascript Feedback


Recommended Posts

  • 8 months later...

I was able to get this working but it required some changes to the top level .quokka settings.

Additions to .quokka/config.json:



   "jsdom": {

       "html": "<canvas id='game' width='256' height='240'></canvas>"




and you have to install the following modules inside the .quokka directory so that quokka will have access to the plugins

npm i canvas jsdom-quokka-plugin

or if you are using yarn:

yarn add canvas jsdom-quokka-plugin


Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...