This is a demo Laravel project which demonstrate the usage for some of the components from Blade UI Kit.
It's built using components from Tailwind UI by Adam Wathan & Steve Schoger.
The following tools are required in order to start the installation.
- Clone this repository locally with
git clone [email protected]:blade-ui-kit/demo.git blade-ui-kit-demo
- Create
database/database.sqlite
file to local database - Copy the
.env.example
file to.env
- Install the PHP dependencies with
composer install
- Generate a new app key with
php artisan key:generate
- Prepare the database by running
php artisan migrate --seed
- Install and compile the front-end dependencies with
npm install && npm run dev
- Set a valid
UNSPLASH_ACCESS_KEY
andMAPBOX_PUBLIC_TOKEN
value in your.env
file - Serve the website locally by running
php artisan serve
You can now visit the app in your browser by visiting http://127.0.0.1:8000. You can login in with [email protected]
& password
.
Command | Description |
---|---|
php artisan test |
Run the tests |
php artisan migrate:fresh --seed |
Reset the database |
npm run watch |
Watch for changes in CSS and JS files |