https://github.com/nejcc/prepare-tailwind
Prepare for laravel tailwind configuration with auth and vue and more
https://github.com/nejcc/prepare-tailwind
Last synced: 3 months ago
JSON representation
Prepare for laravel tailwind configuration with auth and vue and more
- Host: GitHub
- URL: https://github.com/nejcc/prepare-tailwind
- Owner: Nejcc
- Created: 2020-02-20T11:51:19.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-02-02T11:15:46.000Z (over 3 years ago)
- Last Synced: 2025-01-08T12:16:17.410Z (over 1 year ago)
- Language: HTML
- Size: 85.9 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nejcc/prepare-tailwind prepare for laravel-ui
## Installation
#### 1. Laravel last version
```
composer create-project --prefer-dist laravel/laravel blog
```
#### 2. Laravel ui scaffolding
```
composer require laravel/ui
```
```
composer require nejcc/prepare-tailwind
```
```
php artisan ui:auth
```
#### 3. Tailwind prepare (when you run this command will replace your UI folder!!)
##### For Tailwind Only
```
php artisan ui tailwind
```
##### For Tailwind and Vue
```
php artisan ui tailwind-vue
```
##### For Tailwind, Vue, and Auth Views
```
php artisan ui tailwind-vue-auth
```
#### 4. Compile
```
npm install
```
and / or
```
npm run watch
```
#### 5. serve
```
php artisan serve
```
or
```
php artisan serve --port 8888
```