Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
dev
/
pingan-life-index-pro
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
ddd35090
authored
2020-01-21 16:15:16 +0800
by
simon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1.element-ui 加默认主题
1 parent
04eb4382
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
1 deletions
package.json
src/main.js
src/styles/element-variables.scss
package.json
View file @
ddd3509
...
...
@@ -44,6 +44,7 @@
"babel-plugin-component"
:
"^1.1.1"
,
"babel-plugin-import"
:
"^1.13.0"
,
"babel-polyfill"
:
"^6.26.0"
,
"element-theme-chalk"
:
"^2.13.0"
,
"eslint"
:
"^5.16.0"
,
"eslint-plugin-vue"
:
"^5.0.0"
,
"node-sass"
:
"^4.12.0"
,
...
...
src/main.js
View file @
ddd3509
...
...
@@ -4,6 +4,10 @@ import App from './App.vue';
import
router
from
'./router'
;
import
store
from
'./store/index'
;
import
Element
from
'element-ui'
import
'@styles/element-variables.scss'
Vue
.
use
(
Element
)
import
api
from
'@/api/api'
import
{
httpGet
,
...
...
src/styles/element-variables.scss
View file @
ddd3509
/* 改变主题色变量 */
$--color-primary
:
#f05a23
;
/* 改变 icon 字体路径变量,必需 */
$--font-path
:
'~element-ui/lib/theme-chalk/fonts'
;
@import
"~element-ui/packages/theme-chalk/src/index"
;
...
...
Please
register
or
sign in
to post a comment