The </script> tag inside a JS template literal was prematurely closing the outer <script> block, causing 'Unexpected end of input' syntax error and cascading Alpine.js 'not defined' errors.
The </script> tag inside a JS template literal was prematurely closing the outer <script> block, causing 'Unexpected end of input' syntax error and cascading Alpine.js 'not defined' errors.