【问题标题】:semantic/gulp npm install mess语义/gulp npm install mess
【发布时间】:2016-10-22 00:44:35
【问题描述】:

我正在流星/npm 环境中尝试语义 ui,但对安装过程有点不满意。我喜欢交互性,但它把我的项目弄得一团糟。我现在在我的node_modules 目录和外部都有语义文件夹,在根目录中有一个semantic.json 配置文件,而我的node_modules 目录现在完全充满了丑陋的gulp 文件夹(node_modules 在安装之前是空的)。这是应该的吗?如果是这样,我就出去了,我想保持干净、简单和包容。

【问题讨论】:

    标签: meteor npm gulp semantic-ui


    【解决方案1】:

    我也遇到过这个问题。我最终做了以下事情:

    npm uninstall gulp semantic-ui
    

    并像这样添加语义:

    1. 在您的客户端库文件夹中创建一个空的 custom.semantic.json 文件。 /client/lib/semantic-ui/custom.semantic.json 的建议位置取决于您的应用程序结构

    2. 在终端运行meteor add semantic:ui flemay:less-autoprefixer jquery

    这样你的库中有 1 个语义文件夹。

    【讨论】:

    • 我看到这个并犹豫了,因为一切都在朝着 npm 发展。但是,它看起来是更好的选择。谢谢!
    猜你喜欢
    • 2019-02-04
    • 2016-08-18
    • 1970-01-01
    • 1970-01-01
    • 2016-10-18
    • 1970-01-01
    • 1970-01-01
    • 2016-03-01
    • 1970-01-01
    相关资源
    最近更新 更多