bantenprov / portal-perijinan-satu-pintu
portal-perijinan-satu-pintu
Installs: 11
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
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:42:27 UTC
README
PerijinanSatuPintu
Install via composer
- Development snapshot
$ composer require bantenprov/perijinan-satu-pintu:dev-master
- Latest release:
$ composer require bantenprov/perijinan-satu-pintu
Download via github
$ git clone https://github.com/bantenprov/perijinan-satu-pintu.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\PerijinanSatuPintu\PerijinanSatuPintuServiceProvider::class,
Lakukan migrate :
$ php artisan migrate
Publish database seeder :
$ php artisan vendor:publish --tag=perijinan-satu-pintu-seeds
Lakukan auto dump :
$ composer dump-autoload
Lakukan seeding :
$ php artisan db:seed --class=BantenprovPerijinanSatuPintuSeeder
Lakukan publish component vue :
$ php artisan vendor:publish --tag=perijinan-satu-pintu-assets $ php artisan vendor:publish --tag=perijinan-satu-pintu-public
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: '/perijinan-satu-pintu/:id', name: 'home', component: resolve => require(['./components/bantenprov/perijinan-satu-pintu/PerijinanSatuPintu.show.vue'], resolve), meta: { title: "Portal Perijinan Satu Pintu" } }, //==.. { 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/perijinan-satu-pintu', components: { main: resolve => require(['./components/views/bantenprov/perijinan-satu-pintu/DashboardPerijinanSatuPintu.vue'], resolve), navbar: resolve => require(['./components/Navbar.vue'], resolve), sidebar: resolve => require(['./components/Sidebar.vue'], resolve) }, meta: { title: "PerijinanSatuPintu" } }, //== ... ] },
{ path: '/admin', redirect: '/admin/dashboard/home', component: layout('Default'), children: [ //== ... { path: '/admin/perijinan-satu-pintu', components: { main: resolve => require(['./components/bantenprov/perijinan-satu-pintu/PerijinanSatuPintu.index.vue'], resolve), navbar: resolve => require(['./components/Navbar.vue'], resolve), sidebar: resolve => require(['./components/Sidebar.vue'], resolve) }, meta: { title: "PerijinanSatuPintu" } }, { path: '/admin/perijinan-satu-pintu/create', components: { main: resolve => require(['./components/bantenprov/perijinan-satu-pintu/PerijinanSatuPintu.add.vue'], resolve), navbar: resolve => require(['./components/Navbar.vue'], resolve), sidebar: resolve => require(['./components/Sidebar.vue'], resolve) }, meta: { title: "Add PerijinanSatuPintu" } }, { path: '/admin/perijinan-satu-pintu/:id', components: { main: resolve => require(['./components/bantenprov/perijinan-satu-pintu/PerijinanSatuPintu.show.vue'], resolve), navbar: resolve => require(['./components/Navbar.vue'], resolve), sidebar: resolve => require(['./components/Sidebar.vue'], resolve) }, meta: { title: "View PerijinanSatuPintu" } }, { path: '/admin/perijinan-satu-pintu/:id/edit', components: { main: resolve => require(['./components/bantenprov/perijinan-satu-pintu/PerijinanSatuPintu.edit.vue'], resolve), navbar: resolve => require(['./components/Navbar.vue'], resolve), sidebar: resolve => require(['./components/Sidebar.vue'], resolve) }, meta: { title: "Edit PerijinanSatuPintu" } }, //== ... ] },
Edit menu resources/assets/js/menu.js
{ name: 'Dashboard', icon: 'fa fa-dashboard', childType: 'collapse', childItem: [ //== ... { name: 'PerijinanSatuPintu', link: '/dashboard/perijinan-satu-pintu', icon: 'fa fa-angle-double-right' }, //== ... ] },
{ name: 'Admin', icon: 'fa fa-lock', childType: 'collapse', childItem: [ //== ... { name: 'PerijinanSatuPintu', link: '/admin/perijinan-satu-pintu', icon: 'fa fa-angle-double-right' }, //== ... ] },
Tambahkan components resources/assets/js/components.js
:
//== PerijinanSatuPintu import PerijinanSatuPintu from './components/bantenprov/perijinan-satu-pintu/PerijinanSatuPintu.chart.vue'; Vue.component('echarts-perijinan-satu-pintu', PerijinanSatuPintu); import PerijinanSatuPintuKota from './components/bantenprov/perijinan-satu-pintu/PerijinanSatuPintuKota.chart.vue'; Vue.component('echarts-perijinan-satu-pintu-kota', PerijinanSatuPintuKota); import PerijinanSatuPintuTahun from './components/bantenprov/perijinan-satu-pintu/PerijinanSatuPintuTahun.chart.vue'; Vue.component('echarts-perijinan-satu-pintu-tahun', PerijinanSatuPintuTahun); import PerijinanSatuPintuAdminShow from './components/bantenprov/perijinan-satu-pintu/PerijinanSatuPintuAdmin.show.vue'; Vue.component('admin-view-perijinan-satu-pintu-tahun', PerijinanSatuPintuAdminShow); //== Echarts Group Egoverment import PerijinanSatuPintuBar01 from './components/views/bantenprov/perijinan-satu-pintu/PerijinanSatuPintuBar01.vue'; Vue.component('perijinan-satu-pintu-bar-01', PerijinanSatuPintuBar01); import PerijinanSatuPintuBar02 from './components/views/bantenprov/perijinan-satu-pintu/PerijinanSatuPintuBar02.vue'; Vue.component('perijinan-satu-pintu-bar-02', PerijinanSatuPintuBar02); //== mini bar charts import PerijinanSatuPintuBar03 from './components/views/bantenprov/perijinan-satu-pintu/PerijinanSatuPintuBar03.vue'; Vue.component('perijinan-satu-pintu-bar-03', PerijinanSatuPintuBar03); import PerijinanSatuPintuPie01 from './components/views/bantenprov/perijinan-satu-pintu/PerijinanSatuPintuPie01.vue'; Vue.component('perijinan-satu-pintu-pie-01', PerijinanSatuPintuPie01); import PerijinanSatuPintuPie02 from './components/views/bantenprov/perijinan-satu-pintu/PerijinanSatuPintuPie02.vue'; Vue.component('perijinan-satu-pintu-pie-02', PerijinanSatuPintuPie02); //== mini pie charts import PerijinanSatuPintuPie03 from './components/views/bantenprov/perijinan-satu-pintu/PerijinanSatuPintuPie03.vue'; Vue.component('perijinan-satu-pintu-pie-03', PerijinanSatuPintuPie03);