Skip to content

mrothauer/vite-php-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Trying to run Vite on traditional PHP sites.

STATUS: Works on dev server, but still have to handle production build and assets path.

KNOWN ISSUE: An important limitation is the Vite's port, it must match the one that was created during "npm run dev", default 3000

NOTE: The first level "public" folder is the server's public root. Vite is outside of public root intentionaly, where it would be within a PHP app.

About

Example on how to run Vite on traditional PHP sites

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 45.3%
  • JavaScript 38.0%
  • Vue 7.7%
  • Dockerfile 5.0%
  • CSS 4.0%