bantenprov / rasio-ketersediaan-sekolah-smp-mts
Rasio Ketersediaan Sekolah (RKS) SMP / MTs
Installs: 14
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 2
Open Issues: 0
Language:Vue
Requires
- php: >=5.6.4
- laravel/framework: 5.4.*
- laravel/tinker: ~1.0
This package is not auto-updated.
Last update: 2024-09-05 16:53:13 UTC
README
Rasio Ketersediaan Sekolah (RKS) SMP / MTs
install via composer
- Development snapshot
$ composer require bantenprov/rasio-ketersediaan-sekolah-smp-mts:dev-master
- Latest release:
$ composer require bantenprov/rasio-ketersediaan-sekolah-smp-mts:v0.1.0
download via github
bash
$ git clone https://github.com/bantenprov/rasio-ketersediaan-sekolah-smp-mts.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\RKSekolahSMPMTS\RKSekolahSMPMTSServiceProvider::class,
Untuk publish component vue :
$ php artisan vendor:publish --tag=rk-sekolah-smp-mts-assets $ php artisan vendor:publish --tag=rk-sekolah-smp-mts-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/rk-sekolah-smp-mts', components: { main: resolve => require(['./components/views/bantenprov/rk-sekolah-smp-mts/DashboardRKSekolahSMPMTS.vue'], resolve), navbar: resolve => require(['./components/Navbar.vue'], resolve), sidebar: resolve => require(['./components/Sidebar.vue'], resolve) }, meta: { title: "Rasio Ketersediaan Sekolah SMP/Mts" } }
{ path: '/admin', redirect: '/admin/dashboard', component: resolve => require(['./AdminLayout.vue'], resolve), children: [ //== ... { path: '/admin/dashboard/rk-sekolah-smp-mts', components: { main: resolve => require(['./components/bantenprov/rk-sekolah-smp-mts/RKSekolahSMPMTSAdmin.show.vue'], resolve), navbar: resolve => require(['./components/Navbar.vue'], resolve), sidebar: resolve => require(['./components/Sidebar.vue'], resolve) }, meta: { title: "Rasio Ketersediaan Sekolah SMP/Mts" } } //== ... ] },
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: 'Rasio Keterediaan Sekolah SMP/MTs', link: '/dashboard/rk-sekolah-smp-mts', icon: 'fa fa-angle-double-right' } ] },
Tambahkan components resources/assets/js/components.js
:
import RKSekolahSMPMTS from './components/bantenprov/rk-sekolah-smp-mts/RKSekolahSMPMTS.chart.vue'; Vue.component('echarts-rk-sekolah-smp-mts', RKSekolahSMPMTS); import RKSekolahSMPMTSKota from './components/bantenprov/rk-sekolah-smp-mts/RKSekolahSMPMTSKota.chart.vue'; Vue.component('echarts-rk-sekolah-smp-mts-kota', RKSekolahSMPMTSKota); import RKSekolahSMPMTSTahun from './components/bantenprov/rk-sekolah-smp-mts/RKSekolahSMPMTSTahun.chart.vue'; Vue.component('echarts-rk-sekolah-smp-mts-tahun', RKSekolahSMPMTSTahun); import RKSekolahSMPMTSAdminShow from './components/bantenprov/rk-sekolah-smp-mts/RKSekolahSMPMTSAdmin.show.vue'; Vue.component('admin-view-rk-sekolah-smp-mts-tahun', RKSekolahSMPMTSAdminShow); //== Echarts Angka Partisipasi Kasar import RKSekolahSMPMTSBar01 from './components/views/bantenprov/rk-sekolah-smp-mts/RKSekolahSMPMTSBar01.vue'; Vue.component('rk-sekolah-smp-mts-bar-01', RKSekolahSMPMTSBar01); import RKSekolahSMPMTSBar02 from './components/views/bantenprov/rk-sekolah-smp-mts/RKSekolahSMPMTSBar02.vue'; Vue.component('rk-sekolah-smp-mts-bar-02', RKSekolahSMPMTSBar02); //== mini bar charts import RKSekolahSMPMTSBar03 from './components/views/bantenprov/rk-sekolah-smp-mts/RKSekolahSMPMTSBar03.vue'; Vue.component('rk-sekolah-smp-mts-bar-03', RKSekolahSMPMTSBar03); import RKSekolahSMPMTSPie01 from './components/views/bantenprov/rk-sekolah-smp-mts/RKSekolahSMPMTSPie01.vue'; Vue.component('rk-sekolah-smp-mts-pie-01', RKSekolahSMPMTSPie01); import RKSekolahSMPMTSPie02 from './components/views/bantenprov/rk-sekolah-smp-mts/RKSekolahSMPMTSPie02.vue'; Vue.component('rk-sekolah-smp-mts-pie-02', RKSekolahSMPMTSPie02); //== mini pie charts import RKSekolahSMPMTSPie03 from './components/views/bantenprov/rk-sekolah-smp-mts/RKSekolahSMPMTSPie03.vue'; Vue.component('rk-sekolah-smp-mts-pie-03', RKSekolahSMPMTSPie03);