mirror of https://github.com/halo-dev/halo-admin
johnniang
6 years ago
6 changed files with 28 additions and 4 deletions
@ -0,0 +1,15 @@
|
||||
import Vue from "vue"; |
||||
import VueLogger from "vuejs-logger"; |
||||
|
||||
const isProduction = process.env.NODE_ENV === "production"; |
||||
const options = { |
||||
isEnabled: true, |
||||
logLevel: isProduction ? "error" : "debug", |
||||
stringifyArguments: false, |
||||
showLogLevel: true, |
||||
showMethodName: true, |
||||
separator: "|", |
||||
showConsoleColors: true |
||||
}; |
||||
|
||||
Vue.use(VueLogger, options); |
@ -0,0 +1,5 @@
|
||||
import Vue from "vue"; |
||||
import Antd from "ant-design-vue"; |
||||
import "ant-design-vue/dist/antd.css"; |
||||
|
||||
Vue.use(Antd); |
Loading…
Reference in new issue