bantenprov/rata-rata-lama-sekolah

Jumlah penduduk berdasarkan wajib KTP per desa/kelurahan

dev-master 2018-03-10 15:55 UTC

This package is not auto-updated.

Last update: 2024-04-24 22:49:55 UTC


README

Join the chat at https://gitter.im/rata-rata-lama-sekolah/Lobby Scrutinizer Code Quality Build Status Latest Stable Version Total Downloads Latest Unstable Version License Monthly Downloads Daily Downloads

Rata-rata Lama Sekolah (RLS) Menurut Kabupaten/Kota

install via composer

  • Development snapshot
$ composer require bantenprov/rata-rata-lama-sekolah:dev-master
  • Latest release:

download via github

$ git clone https://github.com/bantenprov/rata-rata-lama-sekolah.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\RRLamaSekolah\RRLamaSekolahServiceProvider::class,

Untuk publish component vue :

$ php artisan vendor:publish --tag=rr-lama-sekolah-assets
$ php artisan vendor:publish --tag=rr-lama-sekolah-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/rr-lama-sekolah',
    components: {
      main: resolve => require(['./components/views/bantenprov/rr-lama-sekolah/DashboardRRLamaSekolah.vue'], resolve),
      navbar: resolve => require(['./components/Navbar.vue'], resolve),
      sidebar: resolve => require(['./components/Sidebar.vue'], resolve)
    },
    meta: {
      title: "Rata-Rata Lama Sekolah"
    }
  }
{
path: '/admin',
redirect: '/admin/dashboard',
component: resolve => require(['./AdminLayout.vue'], resolve),
children: [
//== ...
    {
      path: '/admin/dashboard/rr-lama-sekolah',
      components: {
        main: resolve => require(['./components/bantenprov/rr-lama-sekolah/RRLamaSekolahAdmin.show.vue'], resolve),
        navbar: resolve => require(['./components/Navbar.vue'], resolve),
        sidebar: resolve => require(['./components/Sidebar.vue'], resolve)
      },
      meta: {
        title: "Rata-Rata Lama Sekolah"
      }
    }
 //== ...   
  ]
},

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: 'Rata-Rata Lama Sekolah',
          link: '/dashboard/rr-lama-sekolah',
          icon: 'fa fa-angle-double-right'
        }
  ]
},

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

import RRLamaSekolah from './components/bantenprov/rr-lama-sekolah/RRLamaSekolah.chart.vue';
Vue.component('echarts-rr-lama-sekolah', RRLamaSekolah);

import RRLamaSekolahKota from './components/bantenprov/rr-lama-sekolah/RRLamaSekolahKota.chart.vue';
Vue.component('echarts-rr-lama-sekolah-kota', RRLamaSekolahKota);

import RRLamaSekolahTahun from './components/bantenprov/rr-lama-sekolah/RRLamaSekolahTahun.chart.vue';
Vue.component('echarts-rr-lama-sekolah-tahun', RRLamaSekolahTahun);

import RRLamaSekolahAdminShow from './components/bantenprov/rr-lama-sekolah/RRLamaSekolahAdmin.show.vue';
Vue.component('admin-view-rr-lama-sekolah-tahun', RRLamaSekolahAdminShow);

//== Echarts Harapan Lama sekolah

import RRLamaSekolahBar01 from './components/views/bantenprov/rr-lama-sekolah/RRLamaSekolahBar01.vue';
Vue.component('rr-lama-sekolah-bar-01', RRLamaSekolahBar01);

import RRLamaSekolahBar02 from './components/views/bantenprov/rr-lama-sekolah/RRLamaSekolahBar02.vue';
Vue.component('rr-lama-sekolah-bar-02', RRLamaSekolahBar02);

//== mini bar charts
import RRLamaSekolahBar03 from './components/views/bantenprov/rr-lama-sekolah/RRLamaSekolahBar03.vue';
Vue.component('rr-lama-sekolah-bar-03', RRLamaSekolahBar03);

import RRLamaSekolahPie01 from './components/views/bantenprov/rr-lama-sekolah/RRLamaSekolahPie01.vue';
Vue.component('rr-lama-sekolah-pie-01', RRLamaSekolahPie01);

import RRLamaSekolahPie02 from './components/views/bantenprov/rr-lama-sekolah/RRLamaSekolahPie02.vue';
Vue.component('rr-lama-sekolah-pie-02', RRLamaSekolahPie02);

//== mini pie charts
import RRLamaSekolahPie03 from './components/views/bantenprov/rr-lama-sekolah/RRLamaSekolahPie03.vue';
Vue.component('rr-lama-sekolah-pie-03', RRLamaSekolahPie03);