Shopify
Revy Bundles
-
clone then run
npm run build
-
copy the
custom-bundles.modern.js
andcustom-bundles.css
files to your theme assets folder -
pick a page/collection where you'd like to render. probably a custom liquid template.
-
at the top of the liquid template, add snippet:
{{ 'custom-bundles.css' | asset_url | stylesheet_tag: preload: true }}
<script type="module" src="{{ 'custom-bundles.modern.js' | asset_url }}" ></script>
-
add an empty
<div id="spa-root" />
to this template, which will be the render target -
add a page/collection which uses this template, navigate to it, and see the output!