bantenprov/balita-gizi-buruk-mendapat-perawatan

Cakupan Balita Gizi Buruk Mendapat Perawatan Menurut Kabupaten/Kota

dev-master 2018-03-13 13:55 UTC

This package is not auto-updated.

Last update: 2024-02-18 02:28:53 UTC


README

Join the chat at https://gitter.im/balita-gizi-buruk-mendapat-perawatan/Lobby Scrutinizer Code Quality Build Status

Latest Stable Version Total Downloads Latest Unstable Version License Monthly Downloads Daily Downloads

Cakupan Balita Gizi Buruk Mendapat Perawatan Menurut Kabupaten/Kota

install via composer

  • Development snapshot
$ composer require bantenprov/balita-gizi-buruk-mendapat-perawatan:dev-master
  • Latest release:
$ composer require bantenprov/balita-gizi-buruk-mendapat-perawatan:v0.1.0

download via github

bash
$ git clone https://github.com/bantenprov/balita-gizi-buruk-mendapat-perawatan.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\BGBurukPerawatan\BGBurukPerawatanServiceProvider::class,

Untuk publish component vue :

$ php artisan vendor:publish --tag=bg-buruk-perawatan-assets
$ php artisan vendor:publish --tag=bg-buruk-perawatan-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/bg-buruk-perawatan',
    components: {
      main: resolve => require(['./components/views/bantenprov/bg-buruk-perawatan/DashboardBGBurukPerawatan.vue'], resolve),
      navbar: resolve => require(['./components/Navbar.vue'], resolve),
      sidebar: resolve => require(['./components/Sidebar.vue'], resolve)
    },
    meta: {
      title: "Balita Gizi Buruk Mendapat Perawatan"
    }
  }
{
path: '/admin',
redirect: '/admin/dashboard',
component: resolve => require(['./AdminLayout.vue'], resolve),
children: [
//== ...
    {
      path: '/admin/dashboard/bg-buruk-perawatan',
      components: {
        main: resolve => require(['./components/bantenprov/bg-buruk-perawatan/BGBurukPerawatanAdmin.show.vue'], resolve),
        navbar: resolve => require(['./components/Navbar.vue'], resolve),
        sidebar: resolve => require(['./components/Sidebar.vue'], resolve)
      },
      meta: {
        title: "Balita Gizi Buruk Mendapat Perawatan"
      }
    }
 //== ...   
  ]
},

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: 'Balita Gizi Buruk Mendapat Perawatan',
          link: '/dashboard/bg-buruk-perawatan',
          icon: 'fa fa-angle-double-right'
        }
  ]
},
//== ...
        {
          name: 'Balita Gizi Buruk Mendapat Perawatan',
          link: '/admin/dashboard/bg-buruk-perawatan',
          icon: 'fa fa-angle-double-right'
        },

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

import BGBurukPerawatan from './components/bantenprov/bg-buruk-perawatan/BGBurukPerawatan.chart.vue';
Vue.component('echarts-bg-buruk-perawatan', BGBurukPerawatan);

import BGBurukPerawatanKota from './components/bantenprov/bg-buruk-perawatan/BGBurukPerawatanKota.chart.vue';
Vue.component('echarts-bg-buruk-perawatan-kota', BGBurukPerawatanKota);

import BGBurukPerawatanTahun from './components/bantenprov/bg-buruk-perawatan/BGBurukPerawatanTahun.chart.vue';
Vue.component('echarts-bg-buruk-perawatan-tahun', BGBurukPerawatanTahun);

import BGBurukPerawatanAdminShow from './components/bantenprov/bg-buruk-perawatan/BGBurukPerawatanAdmin.show.vue';
Vue.component('admin-view-bg-buruk-perawatan-tahun', BGBurukPerawatanAdminShow);

//== Echarts Balita Gizi Buruk Mendapat Perawatan

import BGBurukPerawatanBar01 from './components/views/bantenprov/bg-buruk-perawatan/BGBurukPerawatanBar01.vue';
Vue.component('bg-buruk-perawatan-bar-01', BGBurukPerawatanBar01);

import BGBurukPerawatanBar02 from './components/views/bantenprov/bg-buruk-perawatan/BGBurukPerawatanBar02.vue';
Vue.component('bg-buruk-perawatan-bar-02', BGBurukPerawatanBar02);

//== mini bar charts
import BGBurukPerawatanBar03 from './components/views/bantenprov/bg-buruk-perawatan/BGBurukPerawatanBar03.vue';
Vue.component('bg-buruk-perawatan-bar-03', BGBurukPerawatanBar03);

import BGBurukPerawatanPie01 from './components/views/bantenprov/bg-buruk-perawatan/BGBurukPerawatanPie01.vue';
Vue.component('bg-buruk-perawatan-pie-01', BGBurukPerawatanPie01);

import BGBurukPerawatanPie02 from './components/views/bantenprov/bg-buruk-perawatan/BGBurukPerawatanPie02.vue';
Vue.component('bg-buruk-perawatan-pie-02', BGBurukPerawatanPie02);

//== mini pie charts
import BGBurukPerawatanPie03 from './components/views/bantenprov/bg-buruk-perawatan/BGBurukPerawatanPie03.vue';
Vue.component('bg-buruk-perawatan-pie-03', BGBurukPerawatanPie03);