First, you have to create .env file in root folder and copy .env.example file content to .env file. You can change configurations if you want
And then, we have to install packages and build our frontend assets
composer install
pnpm install
pnpm run build
And you should run this command in a separate terminal:
pnpm run dev
To run the project, you have to use default context of the docker. You can switch to default context using this command:
docker context use default
After that, you run this command:
sail up -d
After container build, you have to create tables and seed database if you want using this command:
sail artisan migrate:fresh
sail artisan db:seed
After everything done, you must see your website running on localhost:8000.
-
🎨 TailwindCss - A utility-first CSS framework packed with classes that can be composed to build any design, directly in your markup
-
🔥 Use the new
<script setup>
syntax -
📥 APIs auto importing - use Composition API and others directly
-
🦾 TypeScript, of course