iboot / core
This is a core package for iboot project
v2.0.2
2023-10-18 10:00 UTC
- dev-main
- v2.0.2
- v2.0.1
- v2.0.0
- v1.0.9
- v1.0.8
- v1.0.6
- v1.0.5
- v1.0.4
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
- dev-feature/refactor-permission
- dev-feature/setup-bunnycdn
- dev-feature/refactor-system-settings
- dev-feature/fixbug-demo-package
- dev-feature/permissions
- dev-feature/avatar
- dev-feature/role
- dev-fixbug/demo
- dev-feature/menu
- dev-feature/change-template
- dev-feature/cms
- dev-implement-media-library
- dev-feature/settings
- dev-implement-sidebar-with-plugins-installation
- dev-implement-dashboard
- dev-custom-exception
This package is not auto-updated.
Last update: 2025-03-14 12:15:56 UTC
README
Description.
This is a core package management
Add config for Laravel 10
File package.json
{
"private": true,
"scripts": {
"dev": "npm run development",
"development": "mix",
"watch": "mix watch",
"watch-poll": "mix watch -- --watch-options-poll=1000",
"hot": "mix watch --hot",
"prod": "npm run production",
"production": "mix --production"
},
"devDependencies": {
"axios": "^1.1.2",
"laravel-mix": "^6.0.49",
"popper.js": "^1.16.1"
},
"dependencies": {
"autoprefixer": "10.4.5",
"glob": "^10.3.10"
}
}
Create new project and add file webpack.mix.js
const mix = require('laravel-mix');
const glob = require('glob');
const path = require('path');
/*
|--------------------------------------------------------------------------
| Mix Asset Management
|--------------------------------------------------------------------------
|
| Mix provides a clean, fluent API for defining some Webpack build steps
| for your Laravel applications. By default, we are compiling the CSS
| file for the application as well as bundling up all the JS files.
|
*/
mix.options({
processCssUrls: false,
clearConsole: true,
terser: {
extractComments: false,
}
})
// Run all webpack.mix.js in app
glob.sync(path.resolve(__dirname) + '/vendor/iboot/**/webpack.mix.js').forEach(item => require(item))
glob.sync(path.resolve(__dirname) + '/packages/**/webpack.mix.js').forEach(item => require(item))
How to install?
composer require iboot/core
Run Environment
php artisan core:environment
- Change your config/auth.php file:
'providers' => [
'users' => [
'driver' => 'eloquent',
'model' => \IBoot\Core\App\Models\User::class,
],
];
- Install
node_modules
:
npm install
Run demo
php artisan ser
npm run watch
Email: admin@icitech.net
Password: password