mirror of https://github.com/halo-dev/halo-admin
Add dependencies config
parent
8939039280
commit
0fa4add414
|
@ -37,10 +37,9 @@
|
||||||
"node": true
|
"node": true
|
||||||
},
|
},
|
||||||
"extends": [
|
"extends": [
|
||||||
"plugin:vue/essential",
|
"plugin:vue/recommended",
|
||||||
"@vue/prettier"
|
"@vue/prettier"
|
||||||
],
|
],
|
||||||
"rules": {},
|
|
||||||
"parserOptions": {
|
"parserOptions": {
|
||||||
"parser": "babel-eslint"
|
"parser": "babel-eslint"
|
||||||
}
|
}
|
||||||
|
@ -55,4 +54,4 @@
|
||||||
"last 2 versions",
|
"last 2 versions",
|
||||||
"not ie <= 8"
|
"not ie <= 8"
|
||||||
]
|
]
|
||||||
}
|
}
|
|
@ -1,5 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="hello">
|
<div class="hello">
|
||||||
|
<a-button type="danger">Danger</a-button>
|
||||||
<h1>{{ msg }}</h1>
|
<h1>{{ msg }}</h1>
|
||||||
<p>
|
<p>
|
||||||
For a guide and recipes on how to configure / customize this project,<br />
|
For a guide and recipes on how to configure / customize this project,<br />
|
||||||
|
|
|
@ -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);
|
|
@ -3,6 +3,8 @@ import App from "./App.vue";
|
||||||
import router from "./router";
|
import router from "./router";
|
||||||
import store from "./store";
|
import store from "./store";
|
||||||
import "./registerServiceWorker";
|
import "./registerServiceWorker";
|
||||||
|
import "./logger";
|
||||||
|
import "./ui";
|
||||||
|
|
||||||
Vue.config.productionTip = false;
|
Vue.config.productionTip = false;
|
||||||
|
|
||||||
|
|
|
@ -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 = {
|
module.exports = {
|
||||||
pwa: {
|
pwa: {
|
||||||
name: "Halo Admin"
|
name: "Halo Admin"
|
||||||
}
|
},
|
||||||
|
|
||||||
|
lintOnSave: undefined
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue