File tree Expand file tree Collapse file tree 4 files changed +22
-18
lines changed Expand file tree Collapse file tree 4 files changed +22
-18
lines changed Original file line number Diff line number Diff line change 5858 "vite" : " ^3.2.11" ,
5959 "vue" : " ^3.5.13" ,
6060 "vue-router" : " ^4.5.0" ,
61- "wave-ui" : " ^2.48 .0"
61+ "wave-ui" : " ^3.18 .0"
6262 },
6363 "peerDependencies" : {
6464 "vue" : " ^2.6.14 || ^3.2.0"
Original file line number Diff line number Diff line change 11<template lang="pug">
2- w-app ( :class ="{ ready }" v-scroll ="onScroll" )
2+ div ( :class ="{ ready }" v-scroll ="onScroll" )
33 top-bar( :offset-top ="offsetTop" )
44 router-view
55
Original file line number Diff line number Diff line change @@ -8,19 +8,22 @@ import router from '@/router/index'
88import '@fortawesome/fontawesome-free/css/fontawesome.css'
99import '@fortawesome/fontawesome-free/css/brands.css'
1010
11- const app = createApp ( App ) . use ( router )
11+ const app = createApp ( App )
1212
13- // eslint-disable-next-line no-new
14- new WaveUI ( app , {
13+ app . use ( router )
14+ app . use ( WaveUI , {
1515 iconsLigature : 'material-icons' ,
1616 colors : {
17- primary : '#ff5252' ,
18- secondary : '#42b983' ,
19- maintext : '#999' ,
20- darktext : '#444' ,
21- lightertext : '#ccc' ,
22- lightgrey : '#eee'
23- }
17+ light : {
18+ primary : '#ff5252' ,
19+ secondary : '#42b983' ,
20+ maintext : '#999' ,
21+ darktext : '#444' ,
22+ lightertext : '#ccc' ,
23+ lightgrey : '#eee'
24+ }
25+ } ,
26+ theme : 'light'
2427} )
2528
2629app . mount ( '#app' )
You can’t perform that action at this time.
0 commit comments