ebrahimimasod / laravel-vite

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.


Languages

Language:PHP 65.0%Language:JavaScript 30.7%Language:TypeScript 2.6%Language:Shell 0.6%Language:Blade 0.5%Language:Vue 0.5%Language:CSS 0.1%