将第 3 方模块添加到 Materializecss?
Adding 3rd party modules to Materializecss?
我想将 tooltip-balloon (https://github.com/goisneto/Tooltip-Balloon) 添加到我的 node_modules for materializecss 中,但不确定使用 NPM 的最佳方法是什么。
NPM 能够 install packages from Git repositories 即使它们未在 NPM 存储库中发布,但 Git 存储库应包含 package.json
才能安装。
由于 github.com/goisneto/Tooltip-Balloon 不包含 package.json
,因此应创建分支 and/or 拉取请求以将其添加到存储库。
另一种方法是使用其他支持非 NPM 包的包管理器,例如 napa
。
我想将 tooltip-balloon (https://github.com/goisneto/Tooltip-Balloon) 添加到我的 node_modules for materializecss 中,但不确定使用 NPM 的最佳方法是什么。
NPM 能够 install packages from Git repositories 即使它们未在 NPM 存储库中发布,但 Git 存储库应包含 package.json
才能安装。
由于 github.com/goisneto/Tooltip-Balloon 不包含 package.json
,因此应创建分支 and/or 拉取请求以将其添加到存储库。
另一种方法是使用其他支持非 NPM 包的包管理器,例如 napa
。