Installation
Open your terminal and run the following command to add the Aim Admin
package to your project:
bash
composer require codecoz/aim-admin @dev
After successfully installing the package with Composer, you'll need to install it within your Laravel project. Run the
following Artisan command:
bash
php artisan aim-admin:install
Executing this command will automatically perform the following tasks:
- Create Contracts folders.
- Update the package.json file.
- Update the app.js file.
- Export Database Migrations.
- Export the NativeBL Config file.
- Export the User model.
- Add a Home route.
- Add a Home blade view.
- Export the vite.config.js file.
To set up the necessary database tables for the nativebl/admin package, execute the following:
bash
php artisan migrate
Finally, to ensure all JavaScript and CSS assets are properly compiled, run the following npm commands:
bash
npm i
bash
npm run build