|
1 |
| -<p align="center"><a href="https://laravel.com" target="_blank"><img src="https://raw.githubusercontent.com/laravel/art/master/logo-lockup/5%20SVG/2%20CMYK/1%20Full%20Color/laravel-logolockup-cmyk-red.svg" width="400" alt="Laravel Logo"></a></p> |
| 1 | +<p align="center"><a href="https://laravel.com" target="_blank"><img src="https://cdn.devdojo.com/assets/svg/laravel-vue-logo.svg" width="300" alt="Laravel Logo"></a></p> |
2 | 2 |
|
3 | 3 | <p align="center">
|
4 |
| -<a href="https://github.com/laravel/framework/actions"><img src="https://github.com/laravel/framework/workflows/tests/badge.svg" alt="Build Status"></a> |
5 |
| -<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/dt/laravel/framework" alt="Total Downloads"></a> |
6 |
| -<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/v/laravel/framework" alt="Latest Stable Version"></a> |
| 4 | +<a href="https://github.com/laravel/vue-starter-kit/actions"><img src="https://github.com/laravel/vue-starter-kit/workflows/tests/badge.svg" alt="Build Status"></a> |
7 | 5 | <a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/l/laravel/framework" alt="License"></a>
|
8 | 6 | </p>
|
9 | 7 |
|
10 |
| -## About Laravel |
| 8 | +<img src="https://cdn.devdojo.com/images/december2024/screenshot.png" /> |
11 | 9 |
|
12 |
| -Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as: |
| 10 | +## Introduction |
13 | 11 |
|
14 |
| -- [Simple, fast routing engine](https://laravel.com/docs/routing). |
15 |
| -- [Powerful dependency injection container](https://laravel.com/docs/container). |
16 |
| -- Multiple back-ends for [session](https://laravel.com/docs/session) and [cache](https://laravel.com/docs/cache) storage. |
17 |
| -- Expressive, intuitive [database ORM](https://laravel.com/docs/eloquent). |
18 |
| -- Database agnostic [schema migrations](https://laravel.com/docs/migrations). |
19 |
| -- [Robust background job processing](https://laravel.com/docs/queues). |
20 |
| -- [Real-time event broadcasting](https://laravel.com/docs/broadcasting). |
| 12 | +Welcome to the Laravel **Vue Starter Kit**, a starter kit built using [Laravel](https://laravel.com), [Vue](https://vuejs.org), [Inertia](https://inertiajs.com), and [Tailwind CSS](https://tailwindcss.com). |
21 | 13 |
|
22 |
| -Laravel is accessible, powerful, and provides tools required for large, robust applications. |
| 14 | +## Installation |
23 | 15 |
|
24 |
| -## Learning Laravel |
| 16 | +To install the starter kit, run the following command: |
25 | 17 |
|
26 |
| -Laravel has the most extensive and thorough [documentation](https://laravel.com/docs) and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework. |
| 18 | +1. git clone https://github.com/laravel/vue-starter-kit |
| 19 | +2. cd vue-starter-kit |
| 20 | +3. git checkout develop |
| 21 | +4. copy .env.example .env |
| 22 | +5. install dependencies `npm install && composer install` |
| 23 | +6. run migrations `php artisan migrate` |
| 24 | +7. add encryption key `php artisan key:generate` |
| 25 | +8. start the asset watcher `npm run dev` |
27 | 26 |
|
28 |
| -You may also try the [Laravel Bootcamp](https://bootcamp.laravel.com), where you will be guided through building a modern Laravel application from scratch. |
| 27 | +Visit the URL for your app and you're good to go! |
29 | 28 |
|
30 |
| -If you don't feel like reading, [Laracasts](https://laracasts.com) can help. Laracasts contains thousands of video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library. |
| 29 | +## Features |
31 | 30 |
|
32 |
| -## Laravel Sponsors |
| 31 | +This Starter Kit includes the following features: |
33 | 32 |
|
34 |
| -We would like to extend our thanks to the following sponsors for funding Laravel development. If you are interested in becoming a sponsor, please visit the [Laravel Partners program](https://partners.laravel.com). |
| 33 | +- **User Authentication** (login, register, password reset, email verify, and password confirmation) |
| 34 | +- **Dashboard Page** (Auth Protected User Dashboard Page) |
| 35 | +- **Settings Page** (Profile Update/Delete, Password Update, Appearance) |
35 | 36 |
|
36 |
| -### Premium Partners |
| 37 | +## Front-end App Structure |
37 | 38 |
|
38 |
| -- **[Vehikl](https://vehikl.com/)** |
39 |
| -- **[Tighten Co.](https://tighten.co)** |
40 |
| -- **[WebReinvent](https://webreinvent.com/)** |
41 |
| -- **[Kirschbaum Development Group](https://kirschbaumdevelopment.com)** |
42 |
| -- **[64 Robots](https://64robots.com)** |
43 |
| -- **[Curotec](https://www.curotec.com/services/technologies/laravel/)** |
44 |
| -- **[Cyber-Duck](https://cyber-duck.co.uk)** |
45 |
| -- **[DevSquad](https://devsquad.com/hire-laravel-developers)** |
46 |
| -- **[Jump24](https://jump24.co.uk)** |
47 |
| -- **[Redberry](https://redberry.international/laravel/)** |
48 |
| -- **[Active Logic](https://activelogic.com)** |
49 |
| -- **[byte5](https://byte5.de)** |
50 |
| -- **[OP.GG](https://op.gg)** |
| 39 | +The majority of the front-end code is located in the `resources/js` folder. We follow Vue.js best practices and conventions for organizing these files and folders. The structure follows these naming conventions: |
51 | 40 |
|
52 |
| -## Contributing |
| 41 | +**Folders**: Use kebab-case |
53 | 42 |
|
54 |
| -Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the [Laravel documentation](https://laravel.com/docs/contributions). |
| 43 | +``` |
| 44 | +resources/js/ |
| 45 | +├── components/ # Reusable Vue components |
| 46 | +├── composables/ # Vue composables/hooks |
| 47 | +├── layouts/ # Application layouts |
| 48 | +├── lib/ # Utility functions and configurations |
| 49 | +├── pages/ # Page components |
| 50 | +└── types/ # Typescript definitions and interfaces |
| 51 | +``` |
55 | 52 |
|
56 |
| -## Code of Conduct |
| 53 | +**Components**: Use PascalCase for component files |
57 | 54 |
|
58 |
| -In order to ensure that the Laravel community is welcoming to all, please review and abide by the [Code of Conduct](https://laravel.com/docs/contributions#code-of-conduct). |
| 55 | +``` |
| 56 | +components/ |
| 57 | +└── AppearanceTabs.vue |
| 58 | +└── NavigationBar.vue |
| 59 | +``` |
59 | 60 |
|
60 |
| -## Security Vulnerabilities |
| 61 | +**Composables/Utilities**: Use camelCase for utility files and composables |
61 | 62 |
|
62 |
| -If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [taylor@laravel.com](mailto:taylor@laravel.com). All security vulnerabilities will be promptly addressed. |
| 63 | +``` |
| 64 | +composables/ |
| 65 | +└── useAuth.ts |
| 66 | +└── useSettings.ts |
| 67 | +``` |
63 | 68 |
|
64 |
| -## License |
| 69 | +This structure aligns more with the default Vue conventions. |
65 | 70 |
|
66 |
| -The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT). |
| 71 | +## Icons |
| 72 | + |
| 73 | +This starter kit leverages the [Lucide Vue Library](https://lucide.dev/guide/packages/lucide-vue-next), which provides you with a collection of over 1000 icons. View the full list of icons [here](https://lucide.dev/icons). |
| 74 | + |
| 75 | +Here's a quick example of using an icon in one of your Vue Components: |
| 76 | + |
| 77 | +``` |
| 78 | +<script setup lang="ts"> |
| 79 | + ... |
| 80 | + import { Rocket } from 'lucide-vue-next'; |
| 81 | + ... |
| 82 | +</script> |
| 83 | +
|
| 84 | +<template> |
| 85 | + <p class="flex items-center space-x-2"> |
| 86 | + <Rocket /> |
| 87 | + <span class="text-lg font-medium">Vue Starter Kit</span> |
| 88 | + </p> |
| 89 | +</template> |
| 90 | +``` |
0 commit comments