北苏丹省 / 城市通货膨胀率
城市/县通货膨胀率
dev-master
2018-03-13 15:30 UTC
Requires
- php: >=5.6.4
- illuminate/support: 5.4.*
This package is not auto-updated.
Last update: 2024-09-29 06:20:11 UTC
README
城市通货膨胀率
通过composer安装
- 开发快照
$ composer require bantenprov/laju-inflasi-menurut-kota:dev-master
- 最新版本
$ composer require bantenprov/laju-inflasi-menurut-kota
通过github下载
$ git clone https://github.com/bantenprov/laju-inflasi-menurut-kota.git
编辑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\LajuInflasiKota\LajuInflasiKotaServiceProvider::class,
执行迁移
$ php artisan migrate
发布数据库种子
$ php artisan vendor:publish --tag=laju-inflasi-kota-seeds
执行自动转储
$ composer dump-autoload
执行播种
$ php artisan db:seed --class=BantenprovLajuInflasiKotaSeeder
发布Vue组件
$ php artisan vendor:publish --tag=laju-inflasi-kota-assets $ php artisan vendor:publish --tag=laju-inflasi-kota-public
在文件resources/assets/js/routes.js中添加路由
{ path: '/dashboard', redirect: '/dashboard/home', component: layout('Default'), children: [ //== ... { path: '/dashboard/laju-inflasi-kota', components: { main: resolve => require(['./components/views/bantenprov/laju-inflasi-kota/DashboardLajuInflasiKota.vue'], resolve), navbar: resolve => require(['./components/Navbar.vue'], resolve), sidebar: resolve => require(['./components/Sidebar.vue'], resolve) }, meta: { title: "Laju Inflasi Menurut Kota" } }, //== ... ] },
{ path: '/admin', redirect: '/admin/dashboard/home', component: layout('Default'), children: [ //== ... { path: '/admin/laju-inflasi-kota', components: { main: resolve => require(['./components/bantenprov/laju-inflasi-kota/LajuInflasiKota.index.vue'], resolve), navbar: resolve => require(['./components/Navbar.vue'], resolve), sidebar: resolve => require(['./components/Sidebar.vue'], resolve) }, meta: { title: "Laju Inflasi Menurut Kota" } }, { path: '/admin/laju-inflasi-kota/create', components: { main: resolve => require(['./components/bantenprov/laju-inflasi-kota/LajuInflasiKota.add.vue'], resolve), navbar: resolve => require(['./components/Navbar.vue'], resolve), sidebar: resolve => require(['./components/Sidebar.vue'], resolve) }, meta: { title: "Add Laju Inflasi Menurut Kota" } }, { path: '/admin/laju-inflasi-kota/:id', components: { main: resolve => require(['./components/bantenprov/laju-inflasi-kota/LajuInflasiKota.show.vue'], resolve), navbar: resolve => require(['./components/Navbar.vue'], resolve), sidebar: resolve => require(['./components/Sidebar.vue'], resolve) }, meta: { title: "View Laju Inflasi Menurut Kota" } }, { path: '/admin/laju-inflasi-kota/:id/edit', components: { main: resolve => require(['./components/bantenprov/laju-inflasi-kota/LajuInflasiKota.edit.vue'], resolve), navbar: resolve => require(['./components/Navbar.vue'], resolve), sidebar: resolve => require(['./components/Sidebar.vue'], resolve) }, meta: { title: "Edit Laju Inflasi Menurut Kota" } }, //== ... ] },
编辑菜单resources/assets/js/menu.js
{ name: 'Dashboard', icon: 'fa fa-dashboard', childType: 'collapse', childItem: [ //== ... { name: 'Laju Inflasi Menurut Kota', link: '/dashboard/laju-inflasi-kota', icon: 'fa fa-angle-double-right' }, //== ... ] },
{ name: 'Admin', icon: 'fa fa-lock', childType: 'collapse', childItem: [ //== ... { name: 'Laju Inflasi Menurut Kota', link: '/admin/laju-inflasi-kota', icon: 'fa fa-angle-double-right' }, //== ... ] },
添加组件resources/assets/js/components.js
//== Example Vuetable import ExampleVueTable from './components/vue-table/ExampleVueTable.vue'; Vue.component('example-vue-table', ExampleVueTable); import LajuInflasiKota from './components/bantenprov/laju-inflasi-kota/LajuInflasiKota.chart.vue'; Vue.component('echarts-laju-inflasi-kota', LajuInflasiKota); import LajuInflasiKotaKota from './components/bantenprov/laju-inflasi-kota/LajuInflasiKotaKota.chart.vue'; Vue.component('echarts-laju-inflasi-kota-kota', LajuInflasiKotaKota); import LajuInflasiKotaTahun from './components/bantenprov/laju-inflasi-kota/LajuInflasiKotaTahun.chart.vue'; Vue.component('echarts-laju-inflasi-kota-tahun', LajuInflasiKotaTahun); import LajuInflasiKotaAdminShow from './components/bantenprov/laju-inflasi-kota/LajuInflasiKotaAdmin.show.vue'; Vue.component('admin-view-laju-inflasi-kota-tahun', LajuInflasiKotaAdminShow); //== Echarts Group Egoverment import LajuInflasiKotaBar01 from './components/views/bantenprov/laju-inflasi-kota/LajuInflasiKotaBar01.vue'; Vue.component('laju-inflasi-kota-bar-01', LajuInflasiKotaBar01); import LajuInflasiKotaBar02 from './components/views/bantenprov/laju-inflasi-kota/LajuInflasiKotaBar02.vue'; Vue.component('laju-inflasi-kota-bar-02', LajuInflasiKotaBar02); //== mini bar charts import LajuInflasiKotaBar03 from './components/views/bantenprov/laju-inflasi-kota/LajuInflasiKotaBar03.vue'; Vue.component('laju-inflasi-kota-bar-03', LajuInflasiKotaBar03); import LajuInflasiKotaPie01 from './components/views/bantenprov/laju-inflasi-kota/LajuInflasiKotaPie01.vue'; Vue.component('laju-inflasi-kota-pie-01', LajuInflasiKotaPie01); import LajuInflasiKotaPie02 from './components/views/bantenprov/laju-inflasi-kota/LajuInflasiKotaPie02.vue'; Vue.component('laju-inflasi-kota-pie-02', LajuInflasiKotaPie02); //== mini pie charts import LajuInflasiKotaPie03 from './components/views/bantenprov/laju-inflasi-kota/LajuInflasiKotaPie03.vue'; Vue.component('laju-inflasi-kota-pie-03', LajuInflasiKotaPie03);