bantenprov / sector-egovernment
10 Sectors Indonesian's Egovernment
Installs: 27
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.*
- laravel/framework: 5.4.*
- laravel/tinker: ~1.0
Requires (Dev)
- doctrine/dbal: ^2.5
This package is not auto-updated.
Last update: 2024-12-22 06:00:39 UTC
README
10 Sectors in Indonsian's Egovernment
- Sektor Sarana dan Prasarana
- Sektor Pemerintahan
- Sektor Pembangunan
- Sektor Pelayanan
- Sektor Legislatif
- Sektor Kewilayahan
- Sektor Keuangan
- Sektor Kepegawaian
- Sektor Kemasyarakatan
- Sektor Administrasi dan Manajemen
Install via composer
- Development snapshot
$ composer require bantenprov/sector-egovernment:dev-master
- Latest release:
$ composer require bantenprov/sector-egovernment
Download via github
$ git clone https://github.com/bantenprov/sector-egovernment.git
Edit config/app.php
:
'providers' => [ /* * Package Service Providers... */ Laravel\Tinker\TinkerServiceProvider::class, //.... Bantenprov\SectorEgovernment\SectorEgovernmentServiceProvider::class,
Publish vendor :
$ php artisan vendor:publish --tag=sector-egovernment-seeds $ php artisan vendor:publish --tag=sector-egovernment-assets $ php artisan vendor:publish --tag=sector-egovernment-public
Lakukan auto dump :
$ composer dump-autoload
Lakukan migrate :
$ php artisan migrate
Lakukan seeding :
$ php artisan db:seed --class=BantenprovSectorEgovernmentSeeder
Tambahkan route di dalam file : resources/assets/js/routes.js
:
function layout(name) { return function(resolve) { require(['./layouts/' + name + '.vue'], resolve); } } let routes = [ { path: '/', name: 'home', component: resolve => require(['./components/views/Home.vue'], resolve), }, //==... { path: '/sector-egovernment/:id', name: 'home', component: resolve => require(['./components/bantenprov/sector-egovernment/SectorEgovernment.show.vue'], resolve), meta: { title: "View Sector Egovernment" } }, //==.. { path: '/sign-in', name: 'sign-in', component: resolve => require(['./components/views/SignIn.vue'], resolve), meta: { title: "Sign in" } },
{ path: '/dashboard', redirect: '/dashboard/home', component: layout('Default'), children: [ //== ... { path: '/dashboard/sector-egovernment', components: { main: resolve => require(['./components/views/bantenprov/sector-egovernment/DashboardSectorEgovernment.vue'], resolve), navbar: resolve => require(['./components/Navbar.vue'], resolve), sidebar: resolve => require(['./components/Sidebar.vue'], resolve) }, meta: { title: "Sector Egovernment" } }, //== ... ] },
{ path: '/admin', redirect: '/admin/dashboard/home', component: layout('Default'), children: [ //== ... { path: '/admin/sector-egovernment', components: { main: resolve => require(['./components/bantenprov/sector-egovernment/SectorEgovernment.index.vue'], resolve), navbar: resolve => require(['./components/Navbar.vue'], resolve), sidebar: resolve => require(['./components/Sidebar.vue'], resolve) }, meta: { title: "Sector Egovernment" } }, { path: '/admin/sector-egovernment/create', components: { main: resolve => require(['./components/bantenprov/sector-egovernment/SectorEgovernment.add.vue'], resolve), navbar: resolve => require(['./components/Navbar.vue'], resolve), sidebar: resolve => require(['./components/Sidebar.vue'], resolve) }, meta: { title: "Add Sector Egovernment" } }, { path: '/admin/sector-egovernment/:id', components: { main: resolve => require(['./components/bantenprov/sector-egovernment/SectorEgovernment.show.vue'], resolve), navbar: resolve => require(['./components/Navbar.vue'], resolve), sidebar: resolve => require(['./components/Sidebar.vue'], resolve) }, meta: { title: "View Sector Egovernment" } }, { path: '/admin/sector-egovernment/:id/edit', components: { main: resolve => require(['./components/bantenprov/sector-egovernment/SectorEgovernment.edit.vue'], resolve), navbar: resolve => require(['./components/Navbar.vue'], resolve), sidebar: resolve => require(['./components/Sidebar.vue'], resolve) }, meta: { title: "Edit Sector Egovernment" } }, //== ... ] },
Edit menu resources/assets/js/menu.js
{ name: 'Dashboard', icon: 'fa fa-dashboard', childType: 'collapse', childItem: [ //== ... { name: 'Sector Egovernment', link: '/dashboard/sector-egovernment', icon: 'fa fa-angle-double-right' }, //== ... ] },
{ name: 'Admin', icon: 'fa fa-lock', childType: 'collapse', childItem: [ //== ... { name: 'Sector Egovernment', link: '/admin/sector-egovernment', icon: 'fa fa-angle-double-right' }, //== ... ] },
Tambahkan components resources/assets/js/components.js
:
import SectorEgovernment from './components/bantenprov/sector-egovernment/SectorEgovernment.chart.vue'; Vue.component('echarts-sector-egovernment', SectorEgovernment); import SectorEgovernmentKota from './components/bantenprov/sector-egovernment/SectorEgovernmentKota.chart.vue'; Vue.component('echarts-sector-egovernment-kota', SectorEgovernmentKota); import SectorEgovernmentTahun from './components/bantenprov/sector-egovernment/SectorEgovernmentTahun.chart.vue'; Vue.component('echarts-sector-egovernment-tahun', SectorEgovernmentTahun); import SectorEgovernmentAdminShow from './components/bantenprov/sector-egovernment/SectorEgovernmentAdmin.show.vue'; Vue.component('admin-view-sector-egovernment-tahun', SectorEgovernmentAdminShow); import SectorEgovernmentList from './components/bantenprov/sector-egovernment/partials/SectorEgovernmentList.vue'; Vue.component('sector-egovernment-list', SectorEgovernmentList); //== Echarts Angka Partisipasi Kasar import SectorEgovernmentBar01 from './components/views/bantenprov/sector-egovernment/SectorEgovernmentBar01.vue'; Vue.component('sector-egovernment-bar-01', SectorEgovernmentBar01); import SectorEgovernmentBar02 from './components/views/bantenprov/sector-egovernment/SectorEgovernmentBar02.vue'; Vue.component('sector-egovernment-bar-02', SectorEgovernmentBar02); //== mini bar charts import SectorEgovernmentBar03 from './components/views/bantenprov/sector-egovernment/SectorEgovernmentBar03.vue'; Vue.component('sector-egovernment-bar-03', SectorEgovernmentBar03); import SectorEgovernmentPie01 from './components/views/bantenprov/sector-egovernment/SectorEgovernmentPie01.vue'; Vue.component('sector-egovernment-pie-01', SectorEgovernmentPie01); import SectorEgovernmentPie02 from './components/views/bantenprov/sector-egovernment/SectorEgovernmentPie02.vue'; Vue.component('sector-egovernment-pie-02', SectorEgovernmentPie02); //== mini pie charts import SectorEgovernmentPie03 from './components/views/bantenprov/sector-egovernment/SectorEgovernmentPie03.vue'; Vue.component('sector-egovernment-pie-03', SectorEgovernmentPie03);