Skip to content

Latest commit

 

History

History
49 lines (27 loc) · 636 Bytes

README.md

File metadata and controls

49 lines (27 loc) · 636 Bytes

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