👨💻Best Practices
Our aim is to create and maintain a highly-efficient, highly-flexible Shopify theme.
It is important to ensure best practices are followed for the following categories:
Semantic HTML
Accessibility
SEO
Performance
Developer Experience
Maintainability
The easiest and fastest way to adhere to best practices is by reading how existing sections are implemented.
As a general rule of thumb, all code should start with only Liquid, HTML, and Tailwind CSS classes. JavaScript should only be used if Liquid, HTML, and Tailwind CSS can not achieve the desired result through native browser interactions.
Last updated