semantic/gulp npm 安装混乱
semantic/gulp npm install mess
我正在 meteor/npm 环境中试用 semantic-ui,但对安装过程有点不满意。我喜欢交互性,但它让我的项目变得一团糟。我现在在我的 node_modules
目录内外都有语义文件夹,在根目录中有一个 semantic.json
配置文件,我的 node_modules
目录现在完全充满了丑陋的 gulp
文件夹( node_modules
在安装前为空)。这是应该的吗?如果是这样,我就出去了,我想保持它干净、简单和包容。
我也遇到了这个问题。我最终做了以下事情:
npm uninstall gulp semantic-ui
并像这样添加语义:
在您的客户端库文件夹中创建一个空的 custom.semantic.json
文件。 /client/lib/semantic-ui/custom.semantic.json
的建议位置取决于您的应用程序结构
运行 学期 meteor add semantic:ui flemay:less-autoprefixer jquery
这样你的库中就有 1 个语义文件夹。
我正在 meteor/npm 环境中试用 semantic-ui,但对安装过程有点不满意。我喜欢交互性,但它让我的项目变得一团糟。我现在在我的 node_modules
目录内外都有语义文件夹,在根目录中有一个 semantic.json
配置文件,我的 node_modules
目录现在完全充满了丑陋的 gulp
文件夹( node_modules
在安装前为空)。这是应该的吗?如果是这样,我就出去了,我想保持它干净、简单和包容。
我也遇到了这个问题。我最终做了以下事情:
npm uninstall gulp semantic-ui
并像这样添加语义:
在您的客户端库文件夹中创建一个空的
custom.semantic.json
文件。/client/lib/semantic-ui/custom.semantic.json
的建议位置取决于您的应用程序结构运行 学期
meteor add semantic:ui flemay:less-autoprefixer jquery
这样你的库中就有 1 个语义文件夹。