ESG New Order Fulfillment UI
# clone code && cd dir
git clone http://gitlab.eservicesgroup.com/esg-systems/fulfillment-ui.git
cd fulfillment-ui
npm install
OR yarn install
If you use yarn, make sure that you have installed it
vim config/dev.env.js
use a correct api url && access token to get data
npm run dev
npm run build
npm run build --report
npm run unit
npm run e2e
npm test
When you need to put the builded code on Live, Follow those steps
remove all builded file on shop.eservicesgroup.com/admincentre/fulfillment
rm -rf shop.eservicesgroup.com/admincentre/fulfillment
copy the builded folder dist/fulfillment
to shop.eservicesgroup.com/admincentre/fulfillment
cp -R dist/fulfillment/ ../project/shop.eservicesgroup.com/admincentre/fulfillment/
copy the entry file dist/index.html
to shop.eservicesgroup.com/app/views/order_fulfillment.php
cp dist/index.html ../project/shop.eservicesgroup.com/app/views/order_fulfillment.php
For detailed explanation on how things work, checkout the guide and docs for vue-loader and docs for vuetable-2.