vue全局css样式放在那里
时间: 2023-08-19 11:17:18 浏览: 110
引用\[3\]中提到,可以在Vue项目的src下的静态文件assets中新建一个css文件,并在文件中按照指定的格式自行封装需要的样式。然后将自定义的样式放到html中。这样可以实现全局的CSS样式。\[3\]
#### 引用[.reference_title]
- *1* [Vue前端css定义全局变量样式并使用](https://blog.csdn.net/m0_49714202/article/details/126265544)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* *3* [vue2.0_在vue中css样式的全局封装和引用](https://blog.csdn.net/QiuRenBB/article/details/122432912)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文