willvrd / vcore-module
Vcore Module - VGreen Application
Installs: 1
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:vgreen-module
Requires
- php: >=7.0.0
- astrotomic/laravel-translatable: ~11.8
- composer/installers: ~1.0
- cviebrock/eloquent-sluggable: ~7.0
- laracasts/presenter: ~0.2.3
- mcamara/laravel-localization: ~1.5
- nwidart/laravel-modules: ~7.1
- willvrd/vgreen-installer: *
Requires (Dev)
- barryvdh/laravel-debugbar: ~3.3
- phpunit/phpunit: ~8.5
This package is auto-updated.
Last update: 2024-04-06 10:11:58 UTC
README
Installation
composer require willvrd/vcore-module
Steps
1. Set up laravel localization (Config Files, Register Middleware)
https://github.com/mcamara/laravel-localization#installation
2. On config/laravellocalization.php, change true 'hideDefaultLocaleInURL' => true
3. Publish config/translatable.php:
php artisan vendor:publish --tag=translatable
4. Run NPM to compile your fresh scaffolding
npm install && npm run dev
Extras
Debug Bar
composer require barryvdh/laravel-debugbar --dev
Assets Module
- Install and Setup:
https://nwidart.com/laravel-modules/v6/basic-usage/compiling-assets
Frontend Components
Loading
- Add in your component:
<section v-if="loading"><loading></loading></section>
Alert
- Add in your component:
<alert :alert="{status:true,type:'alert-danger',text: 'Error sorry',dismissible:true}"></alert>