本周完成了新项目两个issue,由于是前台使用的是angularjs,而不是以往的angular,文件结构也不太相同。所以出现着:angularjs不熟悉,代码无从下手的情况。 在经过摸索之后,对于a
顺晟科技
2021-08-07 11:05:40
191
为什么在vue工程中引入iconfont有时候不生效呢?
请依次使用以下方法
<!DOCTYPE html>
<html lang="en" style=\'height: ;\'>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<!-- 引入下面这个cdn资源 -->
<link rel="icon" href="//at.alicdn.com/t/font_918300_q5yxfof3wjo.css">
<title>vue-shop-front</title>
</head>
<body style=\'height: ;\'>
<noscript>
<strong>We\'re sorry but vue-shop-front doesn\'t work properly without JavaScript enabled. Please enable it to
continue.</strong>
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
</html>
Vue.use(\'//at.alicdn.com/t/font_918300_q5yxfof3wjo.css\')
<style lang="scss" scoped>
@import url("//at.alicdn.com/t/font_918300_q5yxfof3wjo.css");
#wrap-box {
height: ;
// height: 1000px;
}
</style>
17
2022-11
09
2022-11
09
2022-11
21
2022-10
30
2022-09
30
2022-09