Skip to content

A simple example of combining Laravel and Vite, where the admin panel and client sections are separated.

Notifications You must be signed in to change notification settings

ebrahimimasod/laravel-vite

Repository files navigation

laravel-vite

A simple example of combining Laravel and Vite, where the admin panel and client sections are separated.

npm commands

for admin panel (dev , build and build for ssr) :

npm run dev:admin 
npm run build:admin 
npm run build:admin-ssr 

build and build ssr (for production) :

 npm run admin:serve 

for client (dev , build and build for ssr) :

npm run dev:client 
npm run build:client 
npm run build:client-ssr 

build and build ssr (for production) :

 npm run client:serve 

serve ssr file (useful for SEO) :

php artisan inertia:start-ssr 

About

A simple example of combining Laravel and Vite, where the admin panel and client sections are separated.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published