daily-check-in.page.js 579 Bytes
import Vue from 'vue';
import VueRouter from 'vue-router';
import iView from 'iview';
import App from 'vue@/App.vue';
import {list, create} from 'vue@/daily-check-in';

import 'admin/daily-check-in.page.css';
import 'iview/dist/styles/iview.css';

Vue.use(VueRouter);
Vue.use(iView);

const router = new VueRouter({
  routes: [
    {path: '/admin/dailyCheckIn', name: 'list', component: list},
    {path: '/admin/dailyCheckIn/create', name: 'create', component: create}
  ],
  mode: 'history'
});

new Vue({
  el: '.vue-app-container',
  components: {
    App
  },
  router
});