Pendaftaran
vue-moment
moment-timezone
vue-trust
- Development snapshot
$ composer require bantenprov/pendaftaran:dev-master
- Latest release:
$ composer require bantenprov/pendaftaran
$ composer require bantenprov/vue-trust:dev-master
Vue Trust Documentation : Vue trust
$ npm install vue-moment
$ npm install moment-timezone
atau
$ npm install moment-timezone --save
$ git clone https://github.com/bantenprov/pendaftaran.git
'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\Pendaftaran\PendaftaranServiceProvider::class,
$ php artisan migrate
$ php artisan vendor:publish --tag=pendaftaran-seeds
$ composer dump-autoload
$ php artisan db:seed --class=BantenprovPendaftaranSeeder
$ php artisan vendor:publish --tag=pendaftaran-assets
$ php artisan vendor:publish --tag=pendaftaran-public
{
path: '/dashboard',
redirect: '/dashboard/home',
component: layout('Default'),
children: [
//== ...
{
path: '/dashboard/pendaftaran',
components: {
main: resolve => require(['./components/views/bantenprov/pendaftaran/DashboardPendaftaran.vue'], resolve),
navbar: resolve => require(['./components/Navbar.vue'], resolve),
sidebar: resolve => require(['./components/Sidebar.vue'], resolve)
},
meta: {
title: "Pendaftaran"
}
},
//== ...
]
},
{
path: '/admin',
redirect: '/admin/dashboard/home',
component: layout('Default'),
children: [
//== ...
{
path: '/admin/pendaftaran',
components: {
main: resolve => require(['./components/bantenprov/pendaftaran/Pendaftaran.index.vue'], resolve),
navbar: resolve => require(['./components/Navbar.vue'], resolve),
sidebar: resolve => require(['./components/Sidebar.vue'], resolve)
},
meta: {
title: "Pendaftaran"
}
},
{
path: '/admin/pendaftaran/create',
components: {
main: resolve => require(['./components/bantenprov/pendaftaran/Pendaftaran.add.vue'], resolve),
navbar: resolve => require(['./components/Navbar.vue'], resolve),
sidebar: resolve => require(['./components/Sidebar.vue'], resolve)
},
meta: {
title: "Add Pendaftaran"
}
},
{
path: '/admin/pendaftaran/:id',
components: {
main: resolve => require(['./components/bantenprov/pendaftaran/Pendaftaran.show.vue'], resolve),
navbar: resolve => require(['./components/Navbar.vue'], resolve),
sidebar: resolve => require(['./components/Sidebar.vue'], resolve)
},
meta: {
title: "View Pendaftaran"
}
},
{
path: '/admin/pendaftaran/:id/edit',
components: {
main: resolve => require(['./components/bantenprov/pendaftaran/Pendaftaran.edit.vue'], resolve),
navbar: resolve => require(['./components/Navbar.vue'], resolve),
sidebar: resolve => require(['./components/Sidebar.vue'], resolve)
},
meta: {
title: "Edit Pendaftaran"
}
},
//== ...
]
},
{
name: 'Dashboard',
icon: 'fa fa-dashboard',
childType: 'collapse',
childItem: [
//== ...
{
name: 'Pendaftaran',
link: '/dashboard/pendaftaran',
icon: 'fa fa-angle-double-right'
},
//== ...
]
},
{
name: 'Admin',
icon: 'fa fa-lock',
childType: 'collapse',
childItem: [
//== ...
{
name: 'Pendaftaran',
link: '/admin/pendaftaran',
icon: 'fa fa-angle-double-right'
},
//== ...
]
},
//== Pendaftaran
import Pendaftaran from './components/bantenprov/pendaftaran/Pendaftaran.chart.vue';
Vue.component('echarts-pendaftaran', Pendaftaran);
import PendaftaranKota from './components/bantenprov/pendaftaran/PendaftaranKota.chart.vue';
Vue.component('echarts-pendaftaran-kota', PendaftaranKota);
import PendaftaranTahun from './components/bantenprov/pendaftaran/PendaftaranTahun.chart.vue';
Vue.component('echarts-pendaftaran-tahun', PendaftaranTahun);
import PendaftaranAdminShow from './components/bantenprov/pendaftaran/PendaftaranAdmin.show.vue';
Vue.component('admin-view-pendaftaran-tahun', PendaftaranAdminShow);
//== Echarts Group Egoverment
import PendaftaranBar01 from './components/views/bantenprov/pendaftaran/PendaftaranBar01.vue';
Vue.component('pendaftaran-bar-01', PendaftaranBar01);
import PendaftaranBar02 from './components/views/bantenprov/pendaftaran/PendaftaranBar02.vue';
Vue.component('pendaftaran-bar-02', PendaftaranBar02);
//== mini bar charts
import PendaftaranBar03 from './components/views/bantenprov/pendaftaran/PendaftaranBar03.vue';
Vue.component('pendaftaran-bar-03', PendaftaranBar03);
import PendaftaranPie01 from './components/views/bantenprov/pendaftaran/PendaftaranPie01.vue';
Vue.component('pendaftaran-pie-01', PendaftaranPie01);
import PendaftaranPie02 from './components/views/bantenprov/pendaftaran/PendaftaranPie02.vue';
Vue.component('pendaftaran-pie-02', PendaftaranPie02);
//== mini pie charts
import PendaftaranPie03 from './components/views/bantenprov/pendaftaran/PendaftaranPie03.vue';
Vue.component('pendaftaran-pie-03', PendaftaranPie03);