A pie choice component.
To use this pie, you need to configure a pie-question
. This means that you'll need to add it to the index.html
and config.json
files.
<corespring-placement-ordering pie-id="1"></corespring-placement-ordering>
{
"id" : "1",
"pie" : {
"name" : "corespring-placement-ordering",
"version" : "1.0.0"
},
"prompt" : "1 + 1 equals?",
// more configuration...
}
There is a demo in docs/demo
that you can run to see an example of it's usage.
To preview it in that context you'll need the pie tool.
npm install -g pie
cd corespring-placement-ordering/docs/demo
pie serve #will build and serve the pie... then go to http://localhost:4000
npm test # run client and controller tests
npm run client-test # run client tests
npm run controller-test # run controller tests
gulp release
git checkout master
npm publish