0.1.11 • Published 3 years ago

light.konva v0.1.11

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

light.konva

this repo contains some logic using light.designer cards with konva. currently the project is powered by nextjs for easier development.

just make sure to npm i and then fire up npm run dev. after that your development env will be available at http://localhost:3003.

prepared things

  • server side pdf rendering /lib/render.ts
    • contains rect, images, text renderer
  • interactive browser editor /pages/index.tsx
    • contains rect, images, text and basic edit functionality

static bundling

  1. test if designer works with npm run parcel-serve
  2. run npm run static-release

The published bundle can be used via unpkg in any html site, see static-unpkg.html for reference.

TODOs

  • modularize
  • unify server side and browser rendering