Gift Cards Setup micro-app
This is the Gift Cards setup page, which is developed standalone but embedded in vend/vend.
See: Micro-app Strategy
Install
Make sure you have recent version of node.js
, npm
, bower
and gulp
.
In your terminal, run:
npm install
bower install
Develop
This app includes a dev preview server under server/
. It allows quicker development by allowing testing outside of vend/vend. As noted above, it will be superseded by a reusable solution in the next release.
In your terminal, run:
gulp
This projects depends on vend.js
and vend.ui
. If you want to test changes to those projects, you will benefit from
using bower link
, for example:
cd vend.ui
bower link
cd gift-cards-setup
bower link vend.ui
Then your local version will be symlinked into this project.
Build
NODE_ENV=production gulp
Use
Import as a bower dependency. See vend/vend.