-
Notifications
You must be signed in to change notification settings - Fork 71
feat: add Shopify Vite React TypeScript starter template #88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
- Added essential project files including package.json, vite.config.ts, and Tailwind CSS configuration. - Implemented core components such as Header, CartDrawer, and ProductCard. - Established context for cart management and integrated Shopify API queries. - Created pages for Home, Categories, and About with routing support. - Included ESLint and PostCSS configurations for code quality and styling. - Set up a basic .gitignore file to exclude unnecessary files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's remove the comments from this file too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This component is quite large already and it'd be nice for the starter if this was already a bit more modular so the edits are faster and cheaper.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's remove comments from this file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some minor comments. What stands out is that there are quite a few larger files and it'd be nice if we can modularize this a bit more. We are working on improving edits in Bolt but it'd be best if the files were smaller I'd say.
Thanks @d3lm -- I've made some updates. Let me know if you have more thoughts or suggestions for further improvements |
- Refactored App component to utilize new ProductDetails, ProductImageGallery, and Header components for improved structure and readability. - Introduced QuantitySelector for managing product quantities. - Added loading, error, and empty state components for better user experience. - Updated CartContext to support addProductToCart and buyNow functionalities. - Improved .gitignore to exclude unnecessary editor files.
a13f1fd
to
11be89c
Compare
👀 Would love some feedback on the
.bolt/prompt
especiallyExample deployment: https://gilded-boba-7d74ef.netlify.app/