document.once('DOMContentLoaded', () => { // Declare a new Alpine component and its data Alpine.data('cookieRecipe', { ingredients: ['flour', 'butter', 'sugar', 'eggs', 'vanilla'], methodology: ['Preheat oven to 350°F.', 'Mix dry ingredients in a bowl.', 'Add water and mix until dough forms.', 'Roll out dough on a floured surface.', 'Cut into desired shapes.', 'Bake for 10-15 minutes.'], instructionimages: ['path/to/image1', 'path/to/image2', 'path/to/image3', 'path/to/image4', 'path/to/image5', 'path/to/image6'], progress: 0, completed: false, }); })