This a skeleton Shopify theme using TypeScript, Tailwind CSS, and Vite as the build tool. This will serve as a launching point for future Shopify themes.
/root
├── /asset # Compiled assets (JavaScript, CSS) are placed here for Shopify
├── /src # Source files (TypeScript, CSS)
│ ├── main.ts # Main TypeScript file for JS logic
│ ├── main.css # Tailwind CSS entry point
├── layout/
│ ├── theme.liquid
├── snippets/
├── sections/
├── templates/
├── tailwind.config.js # Tailwind CSS configuration
├── vite.config.js # Vite build configuration
├── postcss.config.js # PostCSS configuration for Tailwind CSS
├── package.json
└── .shopifyignore # Ignore non-production files like node_modules
git clone <your-repo-url>
cd ts-prototype
npm install
All TypeScript files will be created in the src/
directory and then imported into the src/main.ts
file.
All CSS files will will be created in the src/
directory and then imported into the src/main.css
file.