- Install (if you don't have them):
- Run:
npm start
— watches the project with continuous rebuild. This will also launch HTTP server with pushState.npm run build:prod
— builds minified project for production
- Learn:
public/
dir is fully auto-generated and served by HTTP server. Write your code inapp/
dir.- Place static files you want to be copied from
app/assets/
topublic/
. - Brunch site, Getting started guide
Add and import MulriFieldComponent from multi directory. Use below syntax to initialize.
<multi-field>
<div>
<input type="text" placeholder="enter text.."/>
</div>
</multi-field>
- min: Add this to configure minimum number of replications on load.
- max: Add this to configure maximum number of replications that can be added. Ex:
<multi-field min=1 max=4>
<div>
<input type="text" placeholder="enter text.."/>
</div>
</multi-field>