aura

Installation

Installing aura is easy.

Install via Composer

First add the git repository to your composer.json file:

Copy to clipboard

"repositories": [
    {
        "type": "vcs",
        "url": "[email protected]:kolleg-essig/aura.git"
    }
]

Then you can install Aura via Composer. Run the following command in your terminal:

Copy to clipboard

composer require kolleg-essig/aura

Finally, you need to publish the assets:

Copy to clipboard

php artisan vendor:publish --tag=aura-assets

Add assets to your layout

Add the aura directives to your layout file.

Copy to clipboard

<!DOCTYPE html>
<html>
    <head>
        <-- ... -->
        @auraStyles
    </head>
    <body>
        <-- ... -->
        @auraScripts
    </body>
</html>

Configure Tailwind CSS

Aura uses Tailwind CSS. If you don't have Tailwind CSS installed yet, you can install it via npm and add following includes to your tailwind.config.js:

Copy to clipboard

@source '../../vendor/kolleg-essig/**/*.blade.php';