需要使用常用前端
用于包装所有 neto 所需的普通锅炉板前端代码的库 产品.
安装指令
从 npm 安装 :
yarn add "@bigbinary/neeto-commons-frontend@latest"
这个软件包依赖于主机项目的尾风配置. 所以加点 需要您工程的后风前端 。 config.js 文件 :
module.exports = {
purge: {
content: [
// ... other content directories
"./node_modules/@bigbinary/neeto-commons-frontend/**/*.js",
],
},
// ... other tailwind config options
};
使用量
此套件会输出五套不同的功能和组件. 点击 更多信息:
其他参考资料
使用雅尔克进行测试
我们的构建文件都在 dist 文件夹,所以当您发布时确保通过
迪尔.
yalc publish dist