This starter template includes:
- Laravel 9
- Vite
- Svelte
- Tailwind CSS (w/
@tailwindcss/forms
and@tailwindcss/aspect-ratio
) - Axios
- TypeScript
- The app is located in
resources/js/
. - You can use
resources/css/
for styling.
Install the composer dependencies:
composer install
Make a copy of the .env.example
file named .env
:
cp .env.example .env
Generate an app key:
php artisan key:generate
Install all package.json
dependencies:
npm install
Run vite to server your assets/bundle:
npm run dev
Open a new terminal instance and serve the application:
php artisan serve
Build the app:
npm run build
Now all you have to do is serve the Laravel app in a production environment.