willvrd/vcore-module

Vcore Module - VGreen Application

Maintainers

Details

github.com/willvrd/Vcore

Source

Issues

Installs: 1

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:vgreen-module

dev-master 2020-09-06 01:47 UTC

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>