Implement Vite and React for E-Commerce SPA Template#65
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request adds a new Vite + React SPA template for the ecommerce project type, updates architecture availability for templates, and introduces a new account page for the Next.js ecommerce template. The changes include configuration updates, new files and components for the Vite + React template, and improvements to testing scripts to reflect the expanded architecture support.
Ecommerce Vite + React Template Addition:
vite-reacttemplate for ecommerce, including core files such asindex.html,package.json,postcss.config.js,tailwind-basedindex.css, and React entry points (App.tsx,main.tsx). This template provides a SPA implementation with navigation, theming, and example pages, and includes a note about SEO limitations for SPAs. [1] [2] [3] [4] [5] [6] [7] [8]Architecture Availability Updates:
index.jsto allow thevite-reactarchitecture for bothportfolioandecommercetemplates (previously only available forsaas).ARCHITECTURESdefinitions inscripts/test-single-template.jsandscripts/test-templates.jsto reflect that bothportfolioandecommercetemplates now support bothnextjs-monolithandvite-reactarchitectures. [1] [2]Next.js Ecommerce Account Page:
AccountPagecomponent for the Next.js ecommerce template, featuring profile info, order history, saved addresses, and account settings UI.These changes collectively expand the range of frontend architectures available for ecommerce and portfolio templates, improve test coverage for these combinations, and enhance the user experience for ecommerce account management.
Closes #38