Welcome to the Satoshi Theme documentation! Designed for modern, sleek, and intuitive online stores, Satoshi offers a seamless shopping experience and enjoyable development experience!
Welcome to Satoshi! This guide will walk you through setup and help you get familiar with the project structure so you can start building quickly.
>= 18.0.0
>= 8.1
After cloning the Satoshi package, you'll see the following directory structure:
π src/
βββ π satoshi-theme/
β βββ ... # Overriden theme modules
β βββ π web/
β βββ ... # Static assets (fonts, images, etc)
β βββ π satoshi/ # Main theme development files
βββ ... # Overridden Magento modules
web/satoshi
)This is where most of your development work occurs, organized as follows:
π satoshi/
βββ π src/ # JavaScript/TypeScript source files
β βββ π data/ # Alpine.js data files
β βββ π plugins/ # Alpine.js plugins
β βββ π store/ # Alpine.js stores
β βββ π utils/ # Reusable utility functions
β βββ π app.ts # Alpine.js entry point and definitions
β βββ π global.d.ts # TypeScript global declarations
βββ π theme/ # Styling files
β βββ π components/ # SCSS style components
β βββ π app.scss # Main styling entry point with Tailwind imports
βββ π tailwind.config.js # Tailwind CSS configuration
This architecture separates JavaScript logic (src
directory) from styling (theme
directory), creating a modular and maintainable codebase.