bantenprov / pendaftaran-wizard
Pendaftaran Wizard
Installs: 27
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 3
Open Issues: 0
Language:Vue
Requires
- php: >=5.6.4
- illuminate/support: 5.4.*
This package is not auto-updated.
Last update: 2024-12-22 06:21:17 UTC
README
Install via composer
- Development snapshot
$ composer require bantenprov/pendaftaran-wizard:dev-master
- Latest release:
$ composer require bantenprov/pendaftaran-wizard
Download via github
$ git clone https://github.com/bantenprov/pendaftaran-wizard.git
Edit config/app.php
:
'providers' => [ /* * Laravel Framework Service Providers... */ Illuminate\Auth\AuthServiceProvider::class, Illuminate\Broadcasting\BroadcastServiceProvider::class, Illuminate\Bus\BusServiceProvider::class, Illuminate\Cache\CacheServiceProvider::class, Illuminate\Foundation\Providers\ConsoleSupportServiceProvider::class, Illuminate\Cookie\CookieServiceProvider::class, //.... Bantenprov\PendaftaranWizard\PendaftaranWizardServiceProvider::class,
Lakukan auto dump :
$ composer dump-autoload
Lakukan publish component vue :
$ php artisan vendor:publish --tag=pendaftaran-wizard-assets
Tambahkan route di dalam file : resources/assets/js/routes.js
:
{ path: '/admin', redirect: '/admin/dashboard/home', component: layout('Default'), children: [ //== ... { path: '/admin/pendaftaran-wizard/create', name: 'pendaftaran-wizard', components: { main: resolve => require(['./components/bantenprov/pendaftaran-wizard/PendaftaranWizard.add.vue'], resolve), navbar: resolve => require(['./components/Navbar.vue'], resolve), sidebar: resolve => require(['./components/Sidebar.vue'], resolve) }, meta: { title: "Formulir Pendaftaran" } }, //== ... ] },
Edit menu resources/assets/js/menu.js
{ name: 'Admin', icon: 'fa fa-lock', childType: 'collapse', childItem: [ //== ... { name: 'Formulir Pendaftaran', link: '/admin/pendaftaran-wizard/create', icon: 'fa fa-angle-double-right' }, //== ... ] },
Tambahkan components resources/assets/js/components.js
:
//== Pendaftaran Wizard import PendaftaranWizardAdminShow from './components/bantenprov/pendaftaran-wizard/PendaftaranWizardAdmin.show.vue'; Vue.component('admin-view-pendaftaran-wizard-tahun', PendaftaranWizardAdminShow);