@gctools-components/global-nav v0.4.15
GCTools-NRC Components
Research and innovation to benefit all public servants
Contributing
The gctools-nrc-components repo is managed as a monorepo that is composed of many npm packages. These packages are controlled by lerna.
To get started, install lerna.
yarn global add lernaPrepare the development environment.
lerna bootstrapMost components use storybook to ease development. Simply go into the package you want to work on, and start storybook.
yarn run storybookHow to create a new component
A new component helper exists at the base of the repo to help you create a new component with minimal effort. From the base of the repo run the following:
yarn new component my-componentReference implementation
The reference implementation contains documentation and examples for all
components in this repo and can be found in packages/reference-implementation
. The reference implementation doesn't use storybook, start it as shown below.
yarn startCopyright
© Her Majesty the Queen in Right of Canada, as represented by the Minister of the National Research Council, 2017
License
Unless otherwise specified, all packages in this monorepo is licensed under the
terms of the MIT license, available at the root of the repo in the LICENSE
file.
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago