当前位置:网站首页>全局样式与图标
全局样式与图标
2022-07-27 18:12:00 【宇智波-林中路】
1.阿里矢量图
第1种:
解压后,直接引入main.js
main.js
// 引入字体图标
import './assets/fonts/iconfont.css'第2种(推荐)
解压后,放入公共样式,再引入到样式中
阿里图标库下载解压

修改文件名为:font,放入asset文件夹
asset文件夹下建立css公共样式

base.css里面引入阿里图标样式
base.css
/* @import url('../font/iconfont.css'); */
@import '../font/iconfont.css';再用下面2种方式引入
2.样式
第1种:
main.js
// 导入全局样式表
import './assets/css/base.css'第2种:(推荐)
App.vue
<style>
/* 这里也可以引入样式 */
@import './assets/css/base.css';
</style>边栏推荐
- Why does Alibaba prohibit more than three forms from joining?
- 一个程序员的水平能差到什么程度?
- Oracle Xe installation and user operation
- 软件测试面试题:已知一个字符串为“hello_world_yoyo”, 如何得到一个队列 [“hello“,“world“,“yoyo“]
- Jetpack compose performance optimization guide - compilation metrics
- Koin simple to use
- How bad can a programmer be?
- DP (dynamic programming)
- 【数据集显示标注】VOC文件结构+数据集标注可视化+代码实现
- Recognized by international authorities! Oceanbase was selected into the Forrester translational data platform report
猜你喜欢

说透缓存一致性与内存屏障

一周活动速递|深入浅出第8期;Meetup成都站报名进行中
![[benefit activity] stack a buff for your code! Click](/img/2d/dabf0ad5d7bd553dada5921abf6c06.png)
[benefit activity] stack a buff for your code! Click "tea" to receive the gift

人家这才叫软件测试工程师,你那只是混口饭吃(附HR面试宝典)

How to solve the problem of missing alarm information and synchronization when Haikang equipment is connected to easycvr?
![Leetcode:1498. Number of subsequences that meet the conditions [sort + bisection + power hash table]](/img/a9/de68e8affcb6b84e82cf344e7254e3.png)
Leetcode:1498. Number of subsequences that meet the conditions [sort + bisection + power hash table]

Understand │ what is cross domain? How to solve cross domain problems?

A new UI testing method: visual perception test

Redis basic understanding, five basic data types

MySQL驱动jar包的下载--保姆教程
随机推荐
Homology and cross domain
Introduction to zepto
JVs official account login configuration
leetcode:1498. 满足条件的子序列数目【排序 + 二分 + 幂次哈希表】
学术分享 | 清华大学 康重庆:电力系统碳计量技术与应用(Matlab代码实现)
How to optimize the open source community experience through developer metrics
Oracle simple advanced query
Under the epidemic, I left my job for a year, and my income increased 10 times
Idea: solve the problem of code without prompt
LabVIEW学习笔记五:按钮按下后无法返回原状
openresty lua-resty-core 使用
JVs privatization deployment start failure handling scheme
Common methods of object learning [clone and equals]
Tencent jumped out with 38K and saw the real test ceiling
十年测试老鸟聊聊移动端兼容性测试
JVS基础框架功能列表
Users and permissions restrict users from using resources
Data warehouse construction - DWD floor
2022-07-19 网工进阶(二十)BGP-路由优选、路由优选逐条分析
You can understand it at a glance, eslint
