@cloudflare-apps/sable
Last updated 2 years ago by teffenellis .
BSD-3-Clause · Repository · Original npm · Tarball · package.json
$ cnpm install @cloudflare-apps/sable 
SYNC missed versions from official npm registry.

Sable Components

A collection of React components for Cloudflare App developers.

This project is in active development and may experience frequent changes.

Installation

yarn add @cloudflare-apps/sable
import React from 'react'
import RelatedAppsBanner from '@cloudflare-apps/sable/related-apps-banner'

class MyReactApp extends React.Component {
  render () {
    return <div>
      <RelatedAppsBanner categories={['analytics', 'make-money-on-your-site']} />
    </div>
  }
}

Development Setup

yarn install
yarn start

Testable pages will be logged to the console.

Publishing new React components

Manually bump package.json version number. Then run the publish command:

yarn run publish-package

Deploying the static pages

yarn add @cloudflare-apps/components

Static pages are present at node_modules/@cloudflare-apps/sable/pages You can test these via:

yarn add @cloudflare-apps/sable
cd node_modules/@cloudflare-apps/sable
python -m SimpleHTTPServer 8000

http://localhost:8000/pages/related-apps-banner/?app-category=analytics

Current Tags

  • 1.2.2                                ...           latest (2 years ago)

10 Versions

  • 1.2.2                                ...           2 years ago
  • 1.2.1                                ...           2 years ago
  • 1.2.0                                ...           2 years ago
  • 1.1.0                                ...           2 years ago
  • 1.0.15                                ...           2 years ago
  • 1.0.14                                ...           2 years ago
  • 1.0.13                                ...           2 years ago
  • 1.0.11                                ...           2 years ago
  • 1.0.10                                ...           2 years ago
  • 1.0.9                                ...           2 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (15)
Dev Dependencies (53)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |