VMR GPT Client Assets Builder and Deployment Workflow
Add inside <head>
tag after the Google gpt.js library script
<script async src="https://cdn2.vmrcommunications.com/crux/dist/js/vmr-crux-gpt.min.js"></script>
Ad slots should be defined inside the HTML body like this (note there is no inline script tag!)
<!-- GPT AdSlot 1 for Ad unit 'CruxNow.com_New_300x250' ### Size: [[300,250]] -->
<div id='div-gpt-ad-3284456-1'></div>
<!-- End AdSlot 1 -->
git clone https://github.com/VMRCommunications/General.git General
cd /my/path/to/General
npm install
echo 'ELEVENTY_ENV=development' > .env
npx @11ty/eleventy
Or serve during development
npx @11ty/eleventy --serve