bantenprov/indikator-kemiskinan-provinsi

There is no license information available for the latest version (dev-master) of this package.

Indikator Kemiskinan Provinsi di wilayah Banten dan Negara Indonesia

dev-master 2018-03-05 16:38 UTC

This package is not auto-updated.

Last update: 2024-12-13 23:48:28 UTC


README

Join the chat at https://gitter.im/ik-provinsi/Lobby Scrutinizer Code Quality Build Status

Dashboard Indikator Kemiskinan Provinsi Banten dan Nasional

install via composer

  • Development snapshot
$ composer require bantenprov/indikator-kemiskinan-provinsi:dev-master
  • Latest release:

download via github

$ git clone https://github.com/bantenprov/indikator-kemiskinan-provinsi.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\IkProvinsi\IkProvinsiServiceProvider::class,

Untuk publish component vue :

$ php artisan vendor:publish --tag=ik-assets
$ php artisan vendor:publish --tag=ik-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/ik-provinsi',
    components: {
      main: resolve => require(['./components/views/bantenprov/ik-provinsi/DashboardIkProvinsi.vue'], resolve),
      navbar: resolve => require(['./components/Navbar.vue'], resolve),
      sidebar: resolve => require(['./components/Sidebar.vue'], resolve)
    },
    meta: {
      title: "IK Provinsi"
    }
  }
{
path: '/admin',
redirect: '/admin/dashboard',
component: resolve => require(['./AdminLayout.vue'], resolve),
children: [
//== ...
    {
      path: '/admin/dashboard/ik-provinsi',
      components: {
        main: resolve => require(['./components/bantenprov/ik-provinsi/IkProvinsiAdmin.show.vue'], resolve),
        navbar: resolve => require(['./components/Navbar.vue'], resolve),
        sidebar: resolve => require(['./components/Sidebar.vue'], resolve)
      },
      meta: {
        title: "IK Provinsi"
      }
    }
 //== ...   
  ]
},

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: 'IK Provinsi',
          link: '/dashboard/ik-provinsi',
          icon: 'fa fa-angle-double-right'
        }
  ]
},
{
name: 'Admin',
        icon: 'fa fa-lock',
        childType: 'collapse',
        childItem: [
            {
                name: 'Dashboard',
                icon: 'fa fa-angle-double-right',
                child: [
                    {
                        name: 'Home',
                        link: '/admin/dashboard/home',
                        icon: 'fa fa-angle-right'
                    },
                    //== ...
                    {
                        name: 'IK Provinsi',
                        link: '/admin/dashboard/ik-provinsi',
                        icon: 'fa fa-angle-right'
                    }
                    //== ...

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

import IkProvinsi from './components/bantenprov/ik-provinsi/IkProvinsi.chart.vue';
Vue.component('echarts-ik-provinsi', IkProvinsi);

import IkProvinsiKota from './components/bantenprov/ik-provinsi/IkProvinsiKota.chart.vue';
Vue.component('echarts-ik-provinsi-kota', IkProvinsiKota);

import IkProvinsiTahun from './components/bantenprov/ik-provinsi/IkProvinsiTahun.chart.vue';
Vue.component('echarts-ik-provinsi-tahun', IkProvinsiTahun);

import IkProvinsiAdminShow from './components/bantenprov/ik-provinsi/IkProvinsiAdmin.show.vue';
Vue.component('admin-view-ik-provinsi-tahun', IkProvinsiAdminShow);

//== Echarts pdrb

import IkProvinsiBar01 from './components/views/bantenprov/ik-provinsi/IkProvinsiBar01.vue';
Vue.component('ik-provinsi-bar-01', IkProvinsiBar01);

import IkProvinsiBar02 from './components/views/bantenprov/ik-provinsi/IkProvinsiBar02.vue';
Vue.component('ik-provinsi-bar-02', IkProvinsiBar02);

//== mini bar charts
import IkProvinsiBar03 from './components/views/bantenprov/ik-provinsi/IkProvinsiBar03.vue';
Vue.component('ik-provinsi-bar-03', IkProvinsiBar03);

import IkProvinsiPie01 from './components/views/bantenprov/ik-provinsi/IkProvinsiPie01.vue';
Vue.component('ik-provinsi-pie-01', IkProvinsiPie01);

import IkProvinsiPie02 from './components/views/bantenprov/ik-provinsi/IkProvinsiPie02.vue';
Vue.component('ik-provinsi-pie-02', IkProvinsiPie02);

//== mini pie charts
import IkProvinsiPie03 from './components/views/bantenprov/ik-provinsi/IkProvinsiPie03.vue';
Vue.component('ik-provinsi-pie-03', IkProvinsiPie03);