Home

Awesome

webcomponents.org

A new version of webcomponents.org

The currently deployed version is on the old-site branch.

See DESIGN.md for more information.

Packages

This monorepo contains several npm packages:

Quick Start

  1. Install dependencies:

    npm ci
    
  2. Run tests:

    npm test
    
  3. Start everything in development mode and watch for changes:

    npm start --watch
    
  4. Visit http://localhost:6451/bootstrap-packages to bootstrap the database with a default set of elements.

  5. Visit http://localhost:5450/catalog and search for "button" to see example elements.

Docker

Using Docker locally gives you the most realistic simulation of a production environment:

npm run start:docker

Ports

We use the following port scheme for consistency and to prevent collisions: