npm install
oryarn install
npm start
oryarn start
- In a browser, go to
http://localhost:3000
- Edit any file in
src/
and save to see changes.
- Within the new file within
docs/
, create an html file:
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
{Your beautiful code}
<link rel="stylesheet" type="text/css" href="./ibm-grid.min.css">
</body>
</html>
- Follow the "Editing the Grid" instructions above, but instead navigate to
http://localhost:3000/docs/yourPageName.html
- Finally, add a link to your example on this README before submitting a pull request. The link should look like:
https://ibm.github.io/grid/yourPageName.html