Skip to content

Starter repo for using Skia CanvasKit with Vite as the bundler

License

Notifications You must be signed in to change notification settings

simoncollins/skia-canvaskit-vite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

skia-canvaskit-vite

Starter repo for using Skia CanvasKit with Vite as the bundler. I had issues getting this working so hopefully this will help you get past them quicker.

Credit goes to @chientrm for finding a way that works.

Hopefully the integration story will get better in future builds of CanvasKit.

This repo just demonstrates loading CanvasKit with Vite as the bundler and then running the simple animation loop demo.

Usage

  1. npm ci
  2. npm run dev to start development server
  3. npm run build to build for production
  4. npm run preview to start preview server for production build

About

Starter repo for using Skia CanvasKit with Vite as the bundler

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published