Bootstrap 4 羽毛图标与引导4

Bootstrap 4 羽毛图标与引导4,bootstrap-4,Bootstrap 4,我是初学者。使用Bootstrap 4的最佳方法是什么?您可以安装此软件 npm安装羽毛图标 或 试试这个 <!DOCTYPE html> <html lang="en"> <title></title> <script src="https://unpkg.com/feather-icons/dist/feather.min.js"></script> <body> <!-- exa

我是初学者。使用Bootstrap 4的最佳方法是什么?

您可以安装此软件

npm安装羽毛图标

试试这个

<!DOCTYPE html>
<html lang="en">
  <title></title>
  <script src="https://unpkg.com/feather-icons/dist/feather.min.js"></script>
  <body>

    <!-- example icon -->
    <i data-feather="circle"></i>

    <script>
      feather.replace()
    </script>
  </body>
</html>

feather.replace()
了解更多详细信息

试试看

装置

yarn add react-feather

用法

从“React”导入React;
从“react feather”导入{Camera};
常量应用=()=>{
返回
};
导出默认应用程序;

第一步是检查文档。第二步是生成一些代码,如果代码不起作用,则发布一个有效的问题。显示代码/您迄今为止尝试的内容。:)
npm i react-feather
import React from 'react';
import { Camera } from 'react-feather';

const App = () => {
  return <Camera />
};

export default App;