0.3.5 • Published 5 years ago

@code.gov/fscp-react-component v0.3.5

Weekly downloads
1
License
CC0-1.0
Repository
github
Last release
5 years ago

code-gov-fscp-react-component

FSCP Plugin for code-gov-web, built with Markdown and React

Install

The repository is distributed with npm. After installing npm, you can install code-gov-fscp-react-component with this command:

$ npm i @code.gov/code-gov-fscp-react-component

Usage

This package is meant to be used with the code-gov-front-end project. Please follow the configuration settings for the project.

Link this package to edit Code.gov styles locally

You may want to view your changes in the code-gov-fscp-react-component repo on your local machine for testing. Follow these steps to do so: 1. Clone the latest version of the code-gov-fscp-react-component repository. 2. Run npm install to install the dependencies required for the package in the code-gov-fscp-react-component directory. 3. Run npm link in the root level of the code-gov-fscp-react-component directory on your local machine. 4. On the code-gov-front-end project, clone the repository and run npm install if you haven’t done this already. 5. Run npm link @code.gov/fscp-react-component in the root level of the code-gov-front-end directory on your local machine.

You are now using the latest version of the code.gov design system via your cloned version when running the code-gov-front-end site on your local machine. To stop using this version, run npm unlink @code.gov/code-gov-fscp-react-component from the root level of the code-gov-front-end directory.

References:

0.3.5

5 years ago

0.3.4

5 years ago

0.3.3

5 years ago

0.3.2

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.0

5 years ago

0.1.0

6 years ago