sigue-components

1.1.3 • Public • Published

Sigue Components

This is a set of components made in React for developing and deploying SigueTB web applications.

Version: 1.1.3

Release date: 2019/07/15

Sigue Components

Installation

Sigue Components is available as an npm package.

$ npm install sigue-components

Usage

Here is an example, of how to use it.

import {
    HandleError,
    NotFound
} from "sigue-components/core/Errors";

export default props => (
    <HandleError>
        <NotFound />
    </HandleError>
);

Changelog

All notable changes are documented in our changelog.

NPM Scripts

In the project directory, you can run:

Watch files and test library

$ npm run build:watch

Compiles the library, listen for changes and generates core/ dir. Then you can use sigue-components like this:

$ npm link                          # Create a link to sigue-components
$ cd ../../otherDir/testProject     # Move to another project to test sigue-components
$ npm link sigue-components         # Listen for changes

Everytime you make a change to Sigue Components, it will change in the test project

Create a production build

$ npm run build

(This happens automatically as a pre-commit)

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.3
    1
    • latest

Version History

Package Sidebar

Install

npm i sigue-components

Weekly Downloads

1

Version

1.1.3

License

ISC

Unpacked Size

184 kB

Total Files

8

Last publish

Collaborators

  • martline1