如何在 Sencha CMD6 中配置 app.json?

How to configure app.json in the Sencha CMD6?

我已经将我的 Sencha CMD 版本更新到最新版本 6,我在 app.json 中看到了一个新的实现,其中包含一个名为 "sass" 的新对象,我的问题是..如何配置正确这个区域?我在我的应用程序中使用包,在 app.json 这个新概念和更新版本的命令行中我想可以在不同的 sass 文件夹中添加一个观察者..

你能帮我实现并更正应用程序中包的路径吗?json?

在这里你可以看到第一种方法:

https://docs.sencha.com/extjs/6.0/whats_new/6.0.0/cmd_upgrade_guide.html

具体在app.json地区。

这是它的样子。您必须找到 your 的正确路径 自己打包。

    /**
     * Comma-separated list of files or folders containing extra Sass. These
     * files are automatically included in the Sass compilation. By default this
     * is just "etc/all.scss" to allow import directives to control the order
     * other files are included.
     *
     * All "etc" files are included at the top of the Sass compilation in their
     * dependency order:
     *
     *      +-------+---------+
     *      |       | base    |
     *      | theme +---------+
     *      |       | derived |
     *      +-------+---------+
     *      | packages        |  (in package dependency order)
     *      +-----------------+
     *      | application     |
     *      +-----------------+
     */
    "etc": [
        "sass/etc/all.scss",
        "${toolkit.name}/sass/etc/all.scss",
        "../ext/packages/ux/classic/sass/var/layout/ResponsiveColumn.scss"
    ],

    /**
     * Comma-separated list of folders containing Sass variable definitions
     * files. These file can also define Sass mixins for use by components.
     *
     * All "var" files are included after "etc" files in the Sass compilation in
     * dependency order:
     *
     *      +-------+---------+
     *      |       | base    |
     *      | theme +---------+
     *      |       | derived |
     *      +-------+---------+
     *      | packages        |  (in package dependency order)
     *      +-----------------+
     *      | application     |
     *      +-----------------+
     *
     * The "sass/var/all.scss" file is always included at the start of the var
     * block before any files associated with JavaScript classes.
     */
    "var": [
        "sass/var/all.scss",
        "sass/var",
        "${toolkit.name}/sass/var"
    ],

    /**
     * Comma-separated list of folders containing Sass rule files.
     *
     * All "src" files are included after "var" files in the Sass compilation in
     * dependency order (the same order as "etc"):
     *
     *      +-------+---------+
     *      |       | base    |
     *      | theme +---------+
     *      |       | derived |
     *      +-------+---------+
     *      | packages        |  (in package dependency order)
     *      +-----------------+
     *      | application     |
     *      +-----------------+
     */
    "src": [
        "sass/src",
        "${toolkit.name}/sass/src"
    ]
},