for https://becauseofhope.org.
Components for the Because of Hope Shopify site.
With Review on Netlify.
Uses VueJS.
Uses Typescript for data models.
yarn installyarn build- On the Shopify pages where an element should be added, add custom HTML with an appropiate
divandidattribute of the element to use. - Ensure that a
scriptelement of thevendor.jsand anotherscriptelement of a specific component.jsfile is present in that HTML with the source javascript being from a built component thatyarn buildhas 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