4p 中文文档教程
4p ·
在发布之前在 node_modules 中测试你的包。
Installation
npm install 4p
Usage Example
测试 packages/react-someplugins
{
"scripts": {
"4p": "4p packages/my-plugin"
}
}
然后,
require('my-plugin');
4p ·
Test your package in node_modules before publish.
Installation
npm install 4p
Usage Example
test packages/react-someplugins
{
"scripts": {
"4p": "4p packages/my-plugin"
}
}
then,
require('my-plugin');