3fiftynine-icons 中文文档教程
3fiftynine-icons
Project setup
yarn install
Compiles and Hot-Reloads for Development
yarn serve
Compile and Minify
yarn build
Linting and Code Fixes
yarn lint
Icon Set Updates
1) 转到 Figma。 2) 打开图标库。 3) 选择图标并将它们导出为 SVG 文件。 4) 创建一个新的分支。 5) 将 SVG 文件添加到 src/svg
目录。 6) 更改package.json
中的版本号。 7) 提交并推送更改。 8) 将更改合并到 master
分支后,一个自动过程将更新图标集。 9) 现在更新(即 npm update 3fiftynine-icons
)或安装(即 npm install 3fiftynine-icons@latest
)应用程序中的 NPM 包。
Customize configuration
请参阅配置参考。
3fiftynine-icons
Project setup
yarn install
Compiles and Hot-Reloads for Development
yarn serve
Compile and Minify
yarn build
Linting and Code Fixes
yarn lint
Icon Set Updates
1) Go to Figma. 2) Open the icon library. 3) Select the icons and export them as SVG files. 4) Create a new branch. 5) Add the SVG files to the src/svg
directory. 6) Change the version number in the package.json
. 7) Commit and push the changes. 8) After merging the changes to the master
branch, an automatic process wil update the icon set. 9) Now either update (i.e., npm update 3fiftynine-icons
) or install (i.e., npm install 3fiftynine-icons@latest
) the NPM package in your application.
Customize configuration
更多