新聞中心
怎么在Angular項目中添加 clean-blog 模板?相信很多沒有經(jīng)驗的人對此束手無策,為此本文總結(jié)了問題出現(xiàn)的原因和解決方法,通過這篇文章希望你能解決這個問題。
成都創(chuàng)新互聯(lián)公司主要從事成都網(wǎng)站設計、網(wǎng)站建設、網(wǎng)頁設計、企業(yè)做網(wǎng)站、公司建網(wǎng)站等業(yè)務。立足成都服務潘集,十載網(wǎng)站建設經(jīng)驗,價格優(yōu)惠、服務專業(yè),歡迎來電咨詢建站服務:18980820575
clean-blog 博客模板下載
clean-blog
或者在下面鏈接下載
startbootstrap-clean-blog-4-dev.zip
解壓并拷貝
解壓下載的文件,將所有文件拷貝到 assets/clean-blog 目錄下
拷貝代碼
將 clean-blog 的 index.html 內(nèi)容拷貝到 app.component.html
Clean Blog
A Blog Theme by Start BootstrapMan must explore, and this is exploration at its greatest
Problems look mighty small from 150 miles up
Posted by Start Bootstrap on September 24, 2017
I believe every human has a finite number of heartbeats. I don't intend to waste any of mine.
Posted by Start Bootstrap on September 18, 2017
Science has not yet mastered prophecy
We predict too much for the next year and yet far too little for the next ten.
Posted by Start Bootstrap on August 24, 2017
Failure is not an option
Many say exploration is part of our destiny, but it's actually our duty to future generations.
Posted by Start Bootstrap on July 8, 2017
styles.css 添加代碼
/* clean-blog */ @import "assets/clean-blog/vendor/font-awesome/css/font-awesome.min.css"; @import "https://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic"; @import "https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800"; @import "assets/clean-blog/css/clean-blog.min.css"; .navbar-toggler { z-index: 1; } @media (max-width: 576px) { nav > .container { width: 100%; } }
index.html 添加 JS 引用
結(jié)果
提示: 文中的配置只是把 clean-blog 給搭建在 Angular4 的項目中,但是并沒有大改其中的東西,比如鏈接等,現(xiàn)在還是一個靜態(tài)的網(wǎng)頁,后期才會添加自己的代碼上去
看完上述內(nèi)容,你們掌握怎么在Angular項目中添加 clean-blog 模板的方法了嗎?如果還想學到更多技能或想了解更多相關(guān)內(nèi)容,歡迎關(guān)注創(chuàng)新互聯(lián)行業(yè)資訊頻道,感謝各位的閱讀!
新聞名稱:怎么在Angular項目中添加clean-blog模板
URL標題:http://www.dlmjj.cn/article/igsgci.html