for https://becauseofhope.org.
Components for the Because of Hope Shopify site.
With Review on Netlify.
Uses VueJS.
Uses Typescript for data models.
yarn install
yarn build
- On the Shopify pages where an element should be added, add custom HTML with an appropiate
div
andid
attribute of the element to use. - Ensure that a
script
element of thevendor.js
and anotherscript
element of a specific component.js
file is present in that HTML with the source javascript being from a built component thatyarn build
has made. It will include everything needed to generate an element into the page. This project has two elements.
shrug
docker-compose run dev
# install dependencies
yarn install
# serve with hot reload at localhost:8080
cd dist && python -m http.server
# build for production with minification
yarn build