bantenprov / penyelesaian-tindak-pidana-polda
Persentase penyelesaian tindak pidana Polda
Installs: 11
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 3
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 06:37:06 UTC
README
Persentase Penyelesaian Tindak Pidana Polda
Install via composer
- Development snapshot
$ composer require bantenprov/penyelesaian-tindak-pidana-polda:dev-master
- Latest release:
$ composer require bantenprov/penyelesaian-tindak-pidana-polda
Download via github
$ git clone https://github.com/bantenprov/penyelesaian-tindak-pidana-polda.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\TindakPidanaPolda\TindakPidanaPoldaServiceProvider::class,
Lakukan migrate :
$ php artisan migrate
Publish database seeder :
$ php artisan vendor:publish --tag=tindak-pidana-polda-seeds
Lakukan auto dump :
$ composer dump-autoload
Lakukan seeding :
$ php artisan db:seed --class=BantenprovTindakPidanaPoldaSeeder
Lakukan publish component vue :
$ php artisan vendor:publish --tag=tindak-pidana-polda-assets $ php artisan vendor:publish --tag=tindak-pidana-polda-public
Tambahkan route di dalam file : resources/assets/js/routes.js
:
{ path: '/dashboard', redirect: '/dashboard/home', component: layout('Default'), children: [ //== ... { path: '/dashboard/tindak-pidana-polda', components: { main: resolve => require(['./components/views/bantenprov/tindak-pidana-polda/DashboardTindakPidanaPolda.vue'], resolve), navbar: resolve => require(['./components/Navbar.vue'], resolve), sidebar: resolve => require(['./components/Sidebar.vue'], resolve) }, meta: { title: "Persentase Penyelesaian Tindak Pidana Polda" } }, //== ... ] },
{ path: '/admin', redirect: '/admin/dashboard/home', component: layout('Default'), children: [ //== ... { path: '/admin/tindak-pidana-polda', components: { main: resolve => require(['./components/bantenprov/tindak-pidana-polda/TindakPidanaPolda.index.vue'], resolve), navbar: resolve => require(['./components/Navbar.vue'], resolve), sidebar: resolve => require(['./components/Sidebar.vue'], resolve) }, meta: { title: "Persentase Penyelesaian Tindak Pidana Polda" } }, { path: '/admin/tindak-pidana-polda/create', components: { main: resolve => require(['./components/bantenprov/tindak-pidana-polda/TindakPidanaPolda.add.vue'], resolve), navbar: resolve => require(['./components/Navbar.vue'], resolve), sidebar: resolve => require(['./components/Sidebar.vue'], resolve) }, meta: { title: "Add Persentase Penyelesaian Tindak Pidana Polda" } }, { path: '/admin/tindak-pidana-polda/:id', components: { main: resolve => require(['./components/bantenprov/tindak-pidana-polda/TindakPidanaPolda.show.vue'], resolve), navbar: resolve => require(['./components/Navbar.vue'], resolve), sidebar: resolve => require(['./components/Sidebar.vue'], resolve) }, meta: { title: "View Persentase Penyelesaian Tindak Pidana Polda" } }, { path: '/admin/tindak-pidana-polda/:id/edit', components: { main: resolve => require(['./components/bantenprov/tindak-pidana-polda/TindakPidanaPolda.edit.vue'], resolve), navbar: resolve => require(['./components/Navbar.vue'], resolve), sidebar: resolve => require(['./components/Sidebar.vue'], resolve) }, meta: { title: "Edit Persentase Penyelesaian Tindak Pidana Polda" } }, //== ... ] },
Edit menu resources/assets/js/menu.js
{ name: 'Dashboard', icon: 'fa fa-dashboard', childType: 'collapse', childItem: [ //== ... { name: 'Persentase Penyelesaian Tindak Pidana Polda', link: '/dashboard/tindak-pidana-polda', icon: 'fa fa-angle-double-right' }, //== ... ] },
{ name: 'Admin', icon: 'fa fa-lock', childType: 'collapse', childItem: [ //== ... { name: 'Persentase Penyelesaian Tindak Pidana Polda', link: '/admin/tindak-pidana-polda', icon: 'fa fa-angle-double-right' }, //== ... ] },
Tambahkan components resources/assets/js/components.js
:
//== Persentase Penyelesaian Tindak Pidana Polda import TindakPidanaPolda from './components/bantenprov/tindak-pidana-polda/TindakPidanaPolda.chart.vue'; Vue.component('echarts-tindak-pidana-polda-kota', TindakPidanaPolda); import TindakPidanaPoldaKota from './components/bantenprov/tindak-pidana-polda/TindakPidanaPoldaKota.chart.vue'; Vue.component('echarts-tindak-pidana-polda-kota', TindakPidanaPoldaKota); import TindakPidanaPoldaTahun from './components/bantenprov/tindak-pidana-polda/TindakPidanaPoldaTahun.chart.vue'; Vue.component('echarts-tindak-pidana-polda-tahun', TindakPidanaPoldaTahun); import TindakPidanaPoldaAdminShow from './components/bantenprov/tindak-pidana-polda/TindakPidanaPoldaAdmin.show.vue'; Vue.component('admin-view-tindak-pidana-polda-kota-tahun', TindakPidanaPoldaAdminShow); //== Echarts Group Egoverment import TindakPidanaPoldaBar01 from './components/views/bantenprov/tindak-pidana-polda/TindakPidanaPoldaBar01.vue'; Vue.component('tindak-pidana-polda-bar-01', TindakPidanaPoldaBar01); import TindakPidanaPoldaBar02 from './components/views/bantenprov/tindak-pidana-polda/TindakPidanaPoldaBar02.vue'; Vue.component('tindak-pidana-polda-bar-02', TindakPidanaPoldaBar02); //== mini bar charts import TindakPidanaPoldaBar03 from './components/views/bantenprov/tindak-pidana-polda/TindakPidanaPoldaBar03.vue'; Vue.component('tindak-pidana-polda-bar-03', TindakPidanaPoldaBar03); import TindakPidanaPoldaPie01 from './components/views/bantenprov/tindak-pidana-polda/TindakPidanaPoldaPie01.vue'; Vue.component('tindak-pidana-polda-pie-01', TindakPidanaPoldaPie01); import TindakPidanaPoldaPie02 from './components/views/bantenprov/tindak-pidana-polda/TindakPidanaPoldaPie02.vue'; Vue.component('tindak-pidana-polda-pie-02', TindakPidanaPoldaPie02); //== mini pie charts import TindakPidanaPoldaPie03 from './components/views/bantenprov/tindak-pidana-polda/TindakPidanaPoldaPie03.vue'; Vue.component('tindak-pidana-polda-pie-03', TindakPidanaPoldaPie03);