mirror of https://github.com/halo-dev/halo-admin
parent
8939039280
commit
0fa4add414
@ -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);
|
@ -1,5 +1,7 @@
|
||||
module.exports = {
|
||||
pwa: {
|
||||
name: "Halo Admin"
|
||||
}
|
||||
},
|
||||
|
||||
lintOnSave: undefined
|
||||
};
|
||||
|
Loading…
Reference in new issue