node package manager
Stop wasting time. Easily manage code sharing in your team. Create a free org »

playland

Playland

A React components dev tool.

Install

npm i playland --save-dev
# Or
# yarn add playland --dev

Config

{cwd}/playland.config.js

module.exports = {
  title: 'Playland',
  home: '🏠',
  directory: 'examples',
  port: 10100,
}

{cwd}/examples

examples
├── FooExample.js
├── BarExample.js
├── app.config.js
└── webpack.config.js

{cwd}/package.json

{
  ...
  "scripts": {
    "start": "playland",
    "build": "NODE_ENV=production playland --build"
  }
}

Run

npm start