开发react组件的npm包

105 阅读1分钟

1、npm link 全局node_modules中创建软连接到npm包上

2、使用的地方使用npm link packageName,在当前项目中创建一个软链接到全局。

问题:

1、.npmignore的问题

2、

Error: Minified React error #321; visit reactjs.org/docs/error-… for the full message or use the non-minified dev environment for full errors and additional helpful warnings.

3、