Add first-class Vite frontend scaffolding for React, Vue, Svelte, and Tailwind#258
Merged
techmahedy merged 16 commits intodoppar:3.xfrom Apr 26, 2026
Merged
Add first-class Vite frontend scaffolding for React, Vue, Svelte, and Tailwind#258techmahedy merged 16 commits intodoppar:3.xfrom
techmahedy merged 16 commits intodoppar:3.xfrom
Conversation
added 11 commits
April 26, 2026 10:12
added 5 commits
April 26, 2026 12:23
Member
|
thank you @techmahedy , good job ! huge feature |
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 PR adds first-class frontend scaffolding to Doppar with:
php pool frontend:install --force(passing force will override existing app and welcome files)php pool frontend:uninstallvite()resources/clientas the frontend source directorypublic/buildWhat To Test
Please verify:
npm run devnpm run buildvite()falls back to built assets when the dev server is stoppedFresh Install Flow
Start from the project root:
This will start like this way:

The layout should contain a Vite call similar to:
#vite('resources/client/js/main.tsx')or the raw helper form if you are testing directly:
Dev Mode Test
Start Doppar:
Start Vite:
Open the app in the browser:
Expected result:
Build the frontend:
Uninstall Test
Run:
Optional:
Expected result:
resources/clientshould be cleaned up if it did not exist before installpublic/buildshould be removed when owned by the scaffold lifecycleSuggested Reviewer Path
For the fastest review:
php pool frontend:installphp pool server:startnpm run dev/,npm run build/php pool frontend:uninstallIf all of the above works, this PR is behaving as intended.
For PUT PATCH DELETE POST request
use csrf token like this way