问题描述
我正在关注this官方文档中如何在项目中添加Flaticon,我有一个在 PHP laravel 框架上运行并使用 ReactJs
的项目在我的项目中,我使用的字体很棒。 这是我的项目结构->
Project
>app
>bootstrap
>database
>node_modules
>public
> css
> fonts
> images
> js
> app.js (Auto build/generated file during compiling)
> scss
> App.css (Auto build/generated file during compiling)
> Flaticon.css (copied as per the docs)
> resources
> js **(Main resource of project)**
> components
> assets
> pages
> redux
> **app.js**
> route.js
> services
> lang
> sass
> views
> **welcome.blade.PHP**
这是我的 welcome.blade.PHP ->
<!DOCTYPE html>
<html>
<head>
<Meta charset="utf-8">
<Meta http-equiv="X-UA-Compatible" content="IE=edge">
<Meta name="viewport" content="width=device-width,initial-scale=1">
<title>Fly & Carry</title>
<link href="{{asset('scss/App.css')}}" rel="stylesheet" type="text/css">
// THis is my public/scss/app.css which is auto generated during compiling time.
<link href="{{asset('scss/flaticon.css')}}" rel="stylesheet" type="text/css">
// ---> Newly added Link for flaticon css (Acc. to docs)
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.0.0/animate.min.css" />
<link rel="stylesheet" type="text/css" href="your_website_domain/css_root/flaticon.css">
// What do I need to paste here in place of DOMAIN???
</head>
<body>
<div id="crud-app"></div>
<script crossorigin src="{{asset('js/app.js')}}" ></script>
// --> This is main resource JS file in whiich I am calling Routing and then pages of my app.
</body>
</html>
请帮助我,我已经浪费了很多时间,如果您需要任何其他查询,我可以为您提供。 任何建议将不胜感激。谢谢。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)