Skip to content
/ laravel-template Public template

A Laravel template pre-configured with HeroUI (v2) and Tailwind CSS.

Notifications You must be signed in to change notification settings

heroui-inc/laravel-template

Repository files navigation

Laravel & HeroUI Template

This is a template for creating applications using Laravel 11 and HeroUI (v2).

Technologies Used

How to Use

Use the template with create-Laravel

To create a new project based on this template using create-laravel, run the following command:

npx create-next-app -e https://github.com/heroui-inc/laravel-template.git

After creating the project you will have the base template using Laravel 11.31

Migrating to Laravel 12

Since this is a starter template, you don't need to follow all the steps in the Laravel 12 upgrade guide. The steps required to upgrade this template are shown below:

Update Laravel Framework and Inertia

  • In composer.json update the laravel/framework version to ^12.00
  • You also need to update the minimum version of inertiajs/inertia-laravel to ^2.0.1 in order to work with Laravel 12

Run update

composer update

Install dependencies

You can use one of them npm, yarn, pnpm, bun, Example using npm:

npm install

Run the development server

npm run dev

Setup pnpm (optional)

If you are using pnpm, you need to add the following code to your .npmrc file:

public-hoist-pattern[]=*@heroui/*

After modifying the .npmrc file, you need to run pnpm install again to ensure that the dependencies are installed correctly.

About

A Laravel template pre-configured with HeroUI (v2) and Tailwind CSS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages