// app.vue
<template>
...
<template>
<script>
...
</script>
// 不要加scoped
<style lang="scss">
@import '~@/styles/xx.scss';
</style>
uniapp设置全局样式的一个注意点
最新推荐文章于 2023-05-09 23:05:06 发布
// app.vue
<template>
...
<template>
<script>
...
</script>
// 不要加scoped
<style lang="scss">
@import '~@/styles/xx.scss';
</style>