Git Product home page Git Product logo

react-components's Introduction

React components for Vanilla Framework

This is a collection of components designed to be the way to consume Vanilla Framework when using React.

How to use the components

See the component docs for usage instructions.

CI Cypress chrome headless

Requirements

Canonical react components currently require that your build is configured with sass-loader (or equivalent), to compile sass.

Install

To use the NPM package do:

yarn add @canonical/react-components

Or if you use NPM:

npm install @canonical/react-components

Issues

Please file any issues at GitHub.

Contributing

You might want to:

Developing locally using this repository

You may wish to link this library directly to your projects while developing locally.

You can do this by cloning this repo to your local workspace;

git clone https://github.com/canonical/react-components

If you then drop into that folder and run;

yarn run link-packages

...this will add this project, react and react-dom to a local yarn registry.

Switching back to the project you are developing, run;

yarn install
yarn link react
yarn link react-dom
yarn link @canonical/react-components

...to pull the linked deps from the local registry. If you now run yarn build-watch in your react-components folder, your project should pick up any changes on refresh or hot module reload.

Note: When you're finished working locally - don't forget to go back and unlink;

cd react-components
yarn run unlink-packages

react-components's People

Contributors

renovate-bot avatar bartaz avatar huwshimi avatar barrymcgee avatar petermakowski avatar sowasred2012 avatar bethcollins92 avatar squidsoup avatar anthonydillon avatar ilayda21 avatar dependabot[bot] avatar clementchaumel avatar hatched avatar renovate[bot] avatar petesfrench avatar mtruj013 avatar steverydz avatar edlerd avatar jpmartinspt avatar carkod avatar minkyngkm avatar andesol avatar lorumic avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.