Skip to content

Commit

Permalink
Updated
Browse files Browse the repository at this point in the history
  • Loading branch information
psaini12ednet committed Sep 27, 2024
1 parent b60afc9 commit cdc19fb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
10 changes: 10 additions & 0 deletions assets/my-component.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,13 @@ Vue.component('my-component', {
template: '<div>Hello from My Component!</div>',
// Add your component's data, methods, etc. here
});

const app2 = Vue.createApp({
data() {
return {
message: 'Hello World!',
};
},
});

app.mount('#app2');
10 changes: 1 addition & 9 deletions sections/header.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -139,15 +139,7 @@
});
});
const app2 = Vue.createApp({
data() {
return {
message: "Hello World!"
}
}
})
app.mount('#app2');
</script>

<header class="header header--{{ section.settings.logo_position }} header--mobile-{{ section.settings.mobile_logo_position }} page-width{% if section.settings.menu_type_desktop == 'drawer' %} drawer-menu{% endif %}{% if section.settings.menu != blank %} header--has-menu{% endif %}{% if has_app_block %} header--has-app{% endif %}{% if social_links %} header--has-social{% endif %}{% if shop.customer_accounts_enabled %} header--has-account{% endif %}{% if localization_forms %} header--has-localizations{% endif %}">
Expand Down

0 comments on commit cdc19fb

Please sign in to comment.