bantenprov/dapodik-data-peserta-didik

Statistik rekapitulasi dapodik data peserta didik tingkat provinsi

dev-master 2018-02-28 11:54 UTC

This package is not auto-updated.

Last update: 2024-05-12 03:03:24 UTC


README

Statistik rekapitulasi dapodik data peserta didik tingkat provinsi

Join the chat at https://gitter.im/dapodik-data-peserta-didik/Lobby Scrutinizer Code Quality Build Status

install via composer

  • Development snapshot
$ composer require bantenprov/dapodik-data-peserta-didik:dev-master
  • Latest release:

download via github

$ git clone https://github.com/bantenprov/dapodik-data-peserta-didik.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\DDPesertaDidik\DDPesertaDidikServiceProvider::class,

Untuk publish component vue :

$ php artisan vendor:publish --tag=dd-peserta-didik-assets
$ php artisan vendor:publish --tag=dd-peserta-didik-public

Tambahkan route di dalam route : resources/assets/js/routes.js :

path: '/dashboard',
component: layout('Default'),
children: [
  {
    path: '/dashboard',
    components: {
      main: resolve => require(['./components/views/DashboardHome.vue'], resolve),
      navbar: resolve => require(['./components/Navbar.vue'], resolve),
      sidebar: resolve => require(['./components/Sidebar.vue'], resolve)
    },
    meta: {
      title: "Dashboard"
    }
  },
  //== ...

  {
    path: '/dashboard/dd-peserta-didik',
    components: {
        main: resolve => require(['./components/views/bantenprov/dd-peserta-didik/DashboardDDPesertaDidik.vue'], resolve),
        navbar: resolve => require(['./components/Navbar.vue'], resolve),
        sidebar: resolve => require(['./components/Sidebar.vue'], resolve)
    },
    meta: {
        title: "Dapodik Peserta Didik"
    }
	}
{
path: '/admin',
redirect: '/admin/dashboard',
component: resolve => require(['./AdminLayout.vue'], resolve),
children: [
//== ...

    {
      path: '/admin/dashboard/dd-peserta-didik',
      components: {
        main: resolve => require(['./components/bantenprov/dd-peserta-didik/DDPesertaDidikAdmin.view.vue'], resolve),
        navbar: resolve => require(['./components/Navbar.vue'], resolve),
        sidebar: resolve => require(['./components/Sidebar.vue'], resolve)
      },
      meta: {
        title: "DD Peserta Didik"
      }
    },

 //== ...   
  ]
},

Edit menu resources/assets/js/menu.js

{
  name: 'Dashboard',
  icon: 'fa fa-dashboard',
  childType: 'collapse',
  childItem: [
        {
          name: 'Dashboard',
          link: '/dashboard',
          icon: 'fa fa-angle-double-right'
        },
        {
          name: 'Entity',
          link: '/dashboard/entity',
          icon: 'fa fa-angle-double-right'
        },
        //== ...
        {
        name: 'Dapodik Data Peserta Didik',
        link: '/dashboard/dd-peserta-didik',
        icon: 'fa fa-angle-double-right'
      }
  ]
},
      

Tambahkan components resources/assets/js/components.js :

//== DD peserta-didik

import DDPesertaDidik from './components/bantenprov/dd-peserta-didik/DDPesertaDidik.chart.vue';
Vue.component('echarts-dd-peserta-didik', DDPesertaDidik);

import DDPesertaDidikKota from './components/bantenprov/dd-peserta-didik/DDPesertaDidikKota.chart.vue';
Vue.component('echarts-dd-peserta-didik-kota', DDPesertaDidikKota);

import DDPesertaDidikTahun from './components/bantenprov/dd-peserta-didik/DDPesertaDidikTahun.chart.vue';
Vue.component('echarts-dd-peserta-didik-tahun', DDPesertaDidikTahun);

import DDPesertaDidikAdminShow from './components/bantenprov/dd-peserta-didik/DDPesertaDidikAdmin.view.vue';
Vue.component('admin-view-dd-peserta-didik-tahun', DDPesertaDidikAdminShow);

//== Echarts DD Pegawai

import DDPesertaDidikBar01 from './components/views/bantenprov/dd-peserta-didik/DDPesertaDidikBar01.vue';
Vue.component('dd-peserta-didik-bar-01', DDPesertaDidikBar01);

import DDPesertaDidikBar02 from './components/views/bantenprov/dd-peserta-didik/DDPesertaDidikBar02.vue';
Vue.component('dd-peserta-didik-bar-02', DDPesertaDidikBar02);

//== mini bar charts
import DDPesertaDidikBar03 from './components/views/bantenprov/dd-peserta-didik/DDPesertaDidikBar03.vue';
Vue.component('dd-peserta-didik-bar-03', DDPesertaDidikBar03);

import DDPesertaDidikPie01 from './components/views/bantenprov/dd-peserta-didik/DDPesertaDidikPie01.vue';
Vue.component('dd-peserta-didik-pie-01', DDPesertaDidikPie01);

import DDPesertaDidikPie02 from './components/views/bantenprov/dd-peserta-didik/DDPesertaDidikPie02.vue';
Vue.component('dd-peserta-didik-pie-02', DDPesertaDidikPie02);

//== mini pie charts
import DDPesertaDidikPie03 from './components/views/bantenprov/dd-peserta-didik/DDPesertaDidikPie03.vue';
Vue.component('dd-peserta-didik-pie-03', DDPesertaDidikPie03);