bantenprov / pdrb-harga-dasar
The Produk Domestik Regioal Bruto package
Installs: 40
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 6
Open Issues: 0
Language:Vue
Requires
- php: >=5.6.4
- illuminate/support: 5.4.*
This package is not auto-updated.
Last update: 2024-12-22 07:43:03 UTC
README
Product domestic regional bruto (PDRB) atas dasar harga berlaku
Cara install :
$ composer require bantenprov/pdrb-harga-dasar:dev-master
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\PdrbHargaDasar\PdrbHargaDasarServiceProvider::class,
Tambahkan route di dalam : 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/pdrb-harga-dasar', components: { main: resolve => require(['./components/views/bantenprov/pdrb-harga-dasar/DashboardPdrbHargaDasar.vue'], resolve), navbar: resolve => require(['./components/Navbar.vue'], resolve), sidebar: resolve => require(['./components/Sidebar.vue'], resolve) }, meta: { title: "PDRB Harga Dasar" } }
{ path: '/admin', redirect: '/admin/dashboard', component: resolve => require(['./AdminLayout.vue'], resolve), children: [ { path: '/admin/dashboard', components: { main: resolve => require(['./components/bantenprov/pdrb-harga-dasar/PdrbHargaDasarAdmin.show.vue'], resolve), navbar: resolve => require(['./components/Navbar.vue'], resolve), sidebar: resolve => require(['./components/Sidebar.vue'], resolve) }, meta: { title: "PDRB Harga Dasar" } } ] },
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: 'PDRB Harga Dasar', link: '/dashboard/pdrb-harga-dasar', icon: 'fa fa-angle-double-right' } ] },
admin
{ name: 'Admin', icon: 'fa fa-lock', childType: 'collapse', childItem: [ { name: 'Dashboard', icon: 'fa fa-angle-double-right', child: [ //=== ... { name: 'PDRB Harga dasar', link: '/admin/dashboard/pdrb-harga-dasar', icon: 'fa fa-angle-right' }
Tambahkan components resources/assets/js/components.js
:
import PdrbHargaDasar from './components/bantenprov/pdrb-harga-dasar/PdrbHargaDasar.chart.vue'; Vue.component('echarts-pdrb-harga-dasar', PdrbHargaDasar); import PdrbHargaDasarKota from './components/bantenprov/pdrb-harga-dasar/PdrbHargaDasarKota.chart.vue'; Vue.component('echarts-pdrb-harga-dasar-kota', PdrbHargaDasarKota); import PdrbHargaDasarTahun from './components/bantenprov/pdrb-harga-dasar/PdrbHargaDasarTahun.chart.vue'; Vue.component('echarts-pdrb-harga-dasar-tahun', PdrbHargaDasarTahun); import PdrbHargaDasarAdminShow from './components/bantenprov/pdrb-harga-dasar/PdrbHargaDasarAdmin.show.vue'; Vue.component('admin-view-pdrb-harga-dasar-tahun', PdrbHargaDasarAdminShow); //== Echarts pdrb import PdrbHargaDasarBar01 from './components/views/bantenprov/pdrb-harga-dasar/PdrbHargaDasarBar01.vue'; Vue.component('pdrb-harga-dasar-bar-01', PdrbHargaDasarBar01); import PdrbHargaDasarBar02 from './components/views/bantenprov/pdrb-harga-dasar/PdrbHargaDasarBar02.vue'; Vue.component('pdrb-harga-dasar-bar-02', PdrbHargaDasarBar02); //== mini bar charts import PdrbHargaDasarBar03 from './components/views/bantenprov/pdrb-harga-dasar/PdrbHargaDasarBar03.vue'; Vue.component('pdrb-harga-dasar-bar-03', PdrbHargaDasarBar03); import PdrbHargaDasarPie01 from './components/views/bantenprov/pdrb-harga-dasar/PdrbHargaDasarPie01.vue'; Vue.component('pdrb-harga-dasar-pie-01', PdrbHargaDasarPie01); import PdrbHargaDasarPie02 from './components/views/bantenprov/pdrb-harga-dasar/PdrbHargaDasarPie02.vue'; Vue.component('pdrb-harga-dasar-pie-02', PdrbHargaDasarPie02); //== mini pie charts import PdrbHargaDasarPie03 from './components/views/bantenprov/pdrb-harga-dasar/PdrbHargaDasarPie03.vue'; Vue.component('pdrb-harga-dasar-pie-03', PdrbHargaDasarPie03);
Untuk publish component vue :
$ php artisan vendor:publish --tag=pdrb-assets $ php artisan vendor:publish --tag=pdrb-public