引入uView
This commit is contained in:
parent
f340a0bb54
commit
e9bb37f562
3
App.vue
3
App.vue
@ -30,5 +30,6 @@
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
@import '@/static/scss/index.scss'
|
||||
@import '@/static/scss/index.scss';
|
||||
@import "uview-ui/index.scss";
|
||||
</style>
|
||||
|
2
main.js
2
main.js
@ -4,6 +4,8 @@ import store from './store' // store
|
||||
import plugins from './plugins' // plugins
|
||||
import './permission' // permission
|
||||
Vue.use(plugins)
|
||||
import uView from "uview-ui";
|
||||
Vue.use(uView);
|
||||
|
||||
Vue.config.productionTip = false
|
||||
Vue.prototype.$store = store
|
||||
|
@ -1,4 +1,7 @@
|
||||
{
|
||||
"easycom": {
|
||||
"^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
|
||||
},
|
||||
"pages": [{
|
||||
"path": "pages/login",
|
||||
"style": {
|
||||
@ -91,8 +94,7 @@
|
||||
"iconPath": "static/images/tabbar/mine.png",
|
||||
"selectedIconPath": "static/images/tabbar/mine_.png",
|
||||
"text": "我的"
|
||||
}
|
||||
]
|
||||
}]
|
||||
},
|
||||
"globalStyle": {
|
||||
"navigationBarTextStyle": "black",
|
||||
|
Loading…
Reference in New Issue
Block a user