Demo here: http://apathetic.github.io/showcase/
A repo to house documentation and examples for all our internal components
- Come up with an awesome idea
- Code said idea
- Show it off in this here Showcase
0.3.0
The Huge showcase makes use of a number of technologies:
It is also assumed that you have both git and npm installed.
You will need these here things:
$ curl https://install.growsdk.org | bash
$ git clone git@github.com:apathetic/showcase.git
$ npm install
$ npm start
First, create a yaml
file for your component that will contain various meta-data, description, dates, etc. about your component. Save this in content/components. Feel free to copy / paste an existing file for reference i.e. to see which fields are available, etc.
Next, create the HTML template that will showcase your component. Simply make a <component>.html
page in views/components/
that contains documentation and perhaps a demo. It should extend the base component.html template. Again, feel free to copy / paste an existing page.
To build and push to apathetic.github.io/showcase:
$ grow deploy wes
MIT