Aurora relies on the react, prop-types, react-transition-group, classnames, and styled-components peer-dependency packages are already to be installed and set up in your project.
Install Aurora from the npm registry by running the following command in your terminal:
npm install @ticketmaster/auroraThen import each component you want to use in your app:
importReactfrom"react";importReactDOMfrom"react-dom";import{Button}from"@ticketmaster/aurora";ReactDOM.render(<Buttonvariant="standard">Hello, world!</Button>,document.getElementById("root"));In order to run the catalog locally, you are required to complete the following steps:
- Execute
yarn installat this directory's root. - Execute
yarn catalog-startat this directory's root. - Navigate to
http://localhost:4000/or your host alias's port 4000.
A documentation of each component and living styleguide will be available on the brand site for Ticketmaster.com.
MIT