Get started with Tailwick

Tailwick works by scanning all of your Blade files, Laravel components, and any other templates for class names, generating the corresponding styles and then writing them to a static CSS file.

It's fast, flexible, and reliable — with zero-runtime.

Installation
1
Install Server (Recommended PHP version: >8)

Make sure to have the Xampp/WampServer/Lampp installed & running in your computer. If you already have installed server on your computer, you can skip this step if your existing PHP version is greater than 8.

2
Install Composer (Recommended version: >= 2.2)

Make sure to have the composer installed & running in your computer. If you already have installed server on your computer, you can skip this step.

3
Install Node (Recommended Node.js version: >18)

Make sure to have the Node.js installed & running in your computer. If you already have installed Node on your computer, you can skip this step if your existing node version is greater than 18.

4
This would install all the required packages in the vendor folder.
composer install

or

composer i
5
This would install all the required dependencies in the node_modules folder.
npm install

or

npm i
6
Please run the below command to generate the new key.
php artisan key:generate
7
Check public file if storage folder present then delete it. After run the below command to link storage with application.
php artisan storage:link
8
Please fill your DB credentials in the .env file.
DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=tailwick_laravel DB_USERNAME=root DB_PASSWORD=
9
Please fill your email credentials in the .env file.
MAIL_MAILER= MAIL_HOST= MAIL_PORT= MAIL_USERNAME= MAIL_PASSWORD= MAIL_ENCRYPTION= MAIL_FROM_ADDRESS="hello@example.com" MAIL_FROM_NAME="${APP_NAME}"
10
Generates a /dist & libs directory with all the production files.
npm run build
11
Please run the following commands to clear all cache from the project.
php artisan optimize:clear
12
This will migrate the database tables. For more details visit Click Here
php artisan migrate
13
This will seed the database tables. For more details visit Click Here
php artisan db:seed
14
The development server is accessible at http://localhost:8000. To run on other port just run command : php artisan serve --port=8001
php artisan serve php artisan serve --port=8001
15
Runs the project locally, starts the development server and watches for any changes in your code, including your HTML, javascript, sass, etc. The development server is accessible at http://localhost:8000.