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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

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