-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
感觉现在的组件管理有点乱了,不知道后续的计划是什么? #141
Comments
目前很多产品生态都往 npm 靠,所以我们目前也在尝试 npm, 试水一段时间后,如果 npm 能满足需求,自然用 npm 最好,最直接! |
直接用npm是能省很多事。 |
为了组件复用就无法避免出现组件太多零碎的情况,所以就需要一个强大的依赖管理工具和庞大的组件生态圈。npm是现在最强的版本控制工具也是最完善的组件仓库。为了减少大家的开发工作量,支持npm也是大势所趋。 |
用npm的生态圈,那不考虑私有组件的情况了? |
啥叫非静态的js。。 |
对于私有模块, 你可以在package.json 里用 |
@andycall 就是非在浏览器中跑的js,node_modules下不是还会有很多本地构建相关的模块吗 |
fis3-hook-node_modules 是参照browserify 来设计的。 引用一段browserify文档的一段话 compatibilityMany npm modules that don't do IO will just work after being Many node built-in modules have been wrapped to work in the browser, but only When you
Additionally, if you use any of these variables, they |
感觉由于 然后我的观点是, 这样结构目录及『库或框架的引用』或许更加清晰些。 |
同一个组件,可以来自github, 也可以是npm,现在看到reademe里说可以通过插件直接使用npm安装的组件。
不知道后续到底以什么为主线?
The text was updated successfully, but these errors were encountered: