ladmin/engine

Ladmin Engine is an package to support Laravel Admin scaffolding.

0.0.8 2023-10-30 08:44 UTC

This package is auto-updated.

Last update: 2024-11-30 02:08:29 UTC


README

Follow the steps below to get started faster! Add the repository by running the command below.

$ composer require ladmin/engine

Follow the installation

$ php artisan ladmin:install --and=[OPOTIONS]

Run migrate and seed, to install ladmin database tables

$ php artisan migrate --seed

Managing assets

Install node module pacakge

npm install -s @hexters/ladmin-vite-input

Open vite.config.js in your project and follow the instruction below.

. . . 
import ladminViteInputs from '@hexters/ladmin-vite-input'
. . .

export default defineConfig({
    plugins: [
        laravel({
            input: ladminViteInputs([
                'resources/css/app.css',
                'resources/js/app.js'
            ]),
            refresh: true,
        }),
    ],
});

📖 Documentation

View complete Documentation here