Skip to content

xin-nie/widget

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation



Preact Widget Template

Usage

$ npm install -g preact-cli
$ preact create widget my-widget
$ cd my-widget
$ npm install
$ npm run dev

Commands

dev: Starts a dev server with hotreload and widget placeholder.

build: Builds production ready UMD bundle ready to be embedded in any page.

start: Either starts a production ready dev server demo-ing your widget or local env based on your environment variable.

test: Runs your awesome UI tests with Jest.

serve: Builds and serves your widget.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 59.3%
  • HTML 35.1%
  • CSS 5.6%