This topic contains 25 replies, has 2 voices, and was last updated by Jai Jai 4 months, 1 week ago.

Error on sidebar minimized


  • eko
    Participant

    Posts: 109
    Member Reply #18156

    I was customizing the js file by removing some jquery plugin in the optional inside default.json but i got some error like this:

    scripts.bundle.js:1 Uncaught TypeError: t.pauseDropdownHover is not a function

    at Object.<anonymous> (scripts.bundle.js:1)

    at Object.eventTrigger (scripts.bundle.js:1)

    at Object.toggleOn (scripts.bundle.js:1)

    at HTMLAnchorElement.toggle (scripts.bundle.js:1)

    (anonymous) @ scripts.bundle.js:1

    eventTrigger @ scripts.bundle.js:1

    toggleOn @ scripts.bundle.js:1

    toggle @ scripts.bundle.js:1

    so what do i miss here? i’m not touching any mandatory parts just the optional. you can take a look the  json file in the attachment. thanks.


    eko
    Participant

    Posts: 109
    Member Reply #18157

    {
    “config”: {
    “demo”: “”,
    “debug”: false,
    “compile”: {
    “jsUglify”: false,
    “cssMinify”: false,
    “jsSourcemaps”: false,
    “cssSourcemaps”: false
    },
    “path”: {
    “src”: “./../src”,
    “node_modules”: “./node_modules”,
    “demo_api_url”: “https://keenthemes.com/metronic/preview/”
    },
    “dist”: [
    “./../dist/**/assets”
    ]
    },
    “build”: {
    “vendors”: {
    “base”: {
    “src”: {
    “mandatory”: {
    “jquery”: {
    “scripts”: [
    “{$config.path.node_modules}/jquery/dist/jquery.js”
    ]
    },
    “bootstrap”: {
    “scripts”: [
    “{$config.path.node_modules}/popper.js/dist/umd/popper.js”,
    “{$config.path.node_modules}/bootstrap/dist/js/bootstrap.min.js”
    ]
    },
    “js-cookie”: {
    “scripts”: [
    “{$config.path.node_modules}/js-cookie/src/js.cookie.js”
    ]
    },
    “moment”: {
    “scripts”: [
    “{$config.path.node_modules}/moment/min/moment.min.js”
    ]
    },
    “tooltip.js”: {
    “scripts”: [
    “{$config.path.node_modules}/tooltip.js/dist/umd/tooltip.min.js”
    ]
    },
    “perfect-scrollbar”: {
    “styles”: [
    “{$config.path.node_modules}/perfect-scrollbar/css/perfect-scrollbar.css”
    ],
    “scripts”: [
    “{$config.path.node_modules}/perfect-scrollbar/dist/perfect-scrollbar.js”
    ]
    }
    },
    “optional”: {
    “jquery-form”: {
    “scripts”: [
    “{$config.path.node_modules}/jquery-form/dist/jquery.form.min.js”
    ]
    },
    “tether”: {
    “styles”: [
    “{$config.path.node_modules}/tether/dist/css/tether.css”
    ],
    “scripts”: []
    },
    “block-ui”: {
    “scripts”: [
    “{$config.path.node_modules}/block-ui/jquery.blockUI.js”
    ]
    },
    “bootstrap-datepicker”: {
    “styles”: [
    “{$config.path.node_modules}/bootstrap-datepicker/dist/css/bootstrap-datepicker3.min.css”
    ],
    “scripts”: [
    “{$config.path.node_modules}/bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js”,
    “{$config.path.src}/js/framework/components/plugins/forms/bootstrap-datepicker.init.js”
    ]
    },
    “bootstrap-touchspin”: {
    “styles”: [
    “{$config.path.node_modules}/bootstrap-touchspin/dist/jquery.bootstrap-touchspin.css”
    ],
    “scripts”: [
    “{$config.path.node_modules}/bootstrap-touchspin/dist/jquery.bootstrap-touchspin.js”
    ]
    },
    “bootstrap-select”: {
    “styles”: [
    “{$config.path.node_modules}/bootstrap-select/dist/css/bootstrap-select.css”
    ],
    “scripts”: [
    “{$config.path.node_modules}/bootstrap-select/dist/js/bootstrap-select.js”
    ]
    },
    “select2”: {
    “styles”: [
    “{$config.path.node_modules}/select2/dist/css/select2.css”
    ],
    “scripts”: [
    “{$config.path.node_modules}/select2/dist/js/select2.full.js”
    ]
    },
    “nouislider”: {
    “styles”: [
    “{$config.path.node_modules}/nouislider/distribute/nouislider.css”
    ],
    “scripts”: [
    “{$config.path.node_modules}/nouislider/distribute/nouislider.js”
    ]
    },
    “summernote”: {
    “styles”: [
    “{$config.path.node_modules}/summernote/dist/summernote.css”
    ],
    “scripts”: [
    “{$config.path.node_modules}/summernote/dist/summernote.js”
    ],
    “fonts”: [
    “{$config.path.node_modules}/summernote/dist/font/**”
    ]
    },
    “jquery-validation”: {
    “scripts”: [
    “{$config.path.node_modules}/jquery-validation/dist/jquery.validate.js”,
    “{$config.path.node_modules}/jquery-validation/dist/additional-methods.js”,
    “{$config.path.src}/js/framework/components/plugins/forms/jquery-validation.init.js”
    ]
    },
    “animate.css”: {
    “styles”: [
    “{$config.path.node_modules}/animate.css/animate.min.css”
    ]
    },
    “sweetalert2”: {
    “styles”: [
    “{$config.path.node_modules}/sweetalert2/dist/sweetalert2.min.css”
    ],
    “scripts”: [
    “{$config.path.node_modules}/es6-promise-polyfill/promise.min.js”,
    “{$config.path.node_modules}/sweetalert2/dist/sweetalert2.min.js”,
    “{$config.path.src}/js/framework/components/plugins/base/sweetalert2.init.js”
    ]
    },
    “socicon”: {
    “styles”: [
    “{$config.path.node_modules}/socicon/css/socicon.css”
    ],
    “fonts”: [
    “{$config.path.node_modules}/socicon/font/**”
    ]
    },
    “line-awesome”: {
    “styles”: [
    “{$config.path.src}/vendors/line-awesome/css/line-awesome.css”
    ],
    “fonts”: [
    “{$config.path.src}/vendors/line-awesome/fonts/**”
    ]
    },
    “flaticon”: {
    “styles”: [
    “{$config.path.src}/vendors/flaticon/css/flaticon.css”
    ],
    “fonts”: [
    “{$config.path.src}/vendors/flaticon/fonts/**”
    ]
    },
    “metronic”: {
    “styles”: [
    “{$config.path.src}/vendors/metronic/css/styles.css”
    ],
    “fonts”: [
    “{$config.path.src}/vendors/metronic/fonts/**”
    ]
    },
    “fontawesome5”: {
    “styles”: [
    “{$config.path.src}/vendors/fontawesome5/web-fonts-with-css/css/fontawesome-all.min.css”
    ],
    “fonts”: [
    “{$config.path.src}/vendors/fontawesome5/web-fonts-with-css/webfonts/**”
    ]
    },
    “perfect-scrollbar”: {
    “styles”: [
    “{$config.path.node_modules}/perfect-scrollbar/css/perfect-scrollbar.css”
    ],
    “scripts”: [
    “{$config.path.node_modules}/perfect-scrollbar/dist/perfect-scrollbar.js”
    ]
    }
    }
    },
    “bundle”: {
    “styles”: “{$config.output}/vendors/base/vendors.bundle.css”,
    “scripts”: “{$config.output}/vendors/base/vendors.bundle.js”,
    “images”: “{$config.output}/vendors/base/images”,
    “fonts”: “{$config.output}/vendors/base/fonts”
    }
    },
    “custom”: {
    “jquery-ui”: {
    “src”: {
    “styles”: [
    “{$config.path.src}/vendors/jquery-ui/jquery-ui.min.css”
    ],
    “scripts”: [
    “{$config.path.src}/vendors/jquery-ui/jquery-ui.min.js”
    ],
    “images”: [
    “{$config.path.src}/vendors/jquery-ui/images/*”
    ]
    },
    “bundle”: {
    “styles”: “{$config.output}/vendors/custom/jquery-ui/jquery-ui.bundle.css”,
    “scripts”: “{$config.output}/vendors/custom/jquery-ui/jquery-ui.bundle.js”,
    “images”: “{$config.output}/vendors/custom/jquery-ui/images”
    }
    },
    “datatables.net”: {
    “src”: {
    “styles”: [
    “{$config.path.node_modules}/datatables.net-bs4/css/dataTables.bootstrap4.css”,
    “{$config.path.node_modules}/datatables.net-buttons-bs4/css/buttons.bootstrap4.min.css”,
    “{$config.path.node_modules}/datatables.net-autofill-bs4/css/autoFill.bootstrap4.min.css”,
    “{$config.path.node_modules}/datatables.net-colreorder-bs4/css/colReorder.bootstrap4.min.css”,
    “{$config.path.node_modules}/datatables.net-fixedcolumns-bs4/css/fixedColumns.bootstrap4.min.css”,
    “{$config.path.node_modules}/datatables.net-fixedheader-bs4/css/fixedHeader.bootstrap4.min.css”,
    “{$config.path.node_modules}/datatables.net-keytable-bs4/css/keyTable.bootstrap4.min.css”,
    “{$config.path.node_modules}/datatables.net-responsive-bs4/css/responsive.bootstrap4.min.css”,
    “{$config.path.node_modules}/datatables.net-rowgroup-bs4/css/rowGroup.bootstrap4.min.css”,
    “{$config.path.node_modules}/datatables.net-rowreorder-bs4/css/rowReorder.bootstrap4.min.css”,
    “{$config.path.node_modules}/datatables.net-scroller-bs4/css/scroller.bootstrap4.min.css”,
    “{$config.path.node_modules}/datatables.net-select-bs4/css/select.bootstrap4.min.css”
    ],
    “scripts”: [
    “{$config.path.node_modules}/datatables.net/js/jquery.dataTables.js”,
    “{$config.path.node_modules}/datatables.net-bs4/js/dataTables.bootstrap4.js”,
    “{$config.path.src}/js/framework/components/plugins/misc/datatables.init.js”,

    “{$config.path.node_modules}/datatables.net-autofill/js/dataTables.autoFill.min.js”,
    “{$config.path.node_modules}/datatables.net-autofill-bs4/js/autoFill.bootstrap4.min.js”,

    “{$config.path.node_modules}/jszip/dist/jszip.min.js”,
    “{$config.path.node_modules}/pdfmake/build/pdfmake.min.js”,
    “{$config.path.node_modules}/pdfmake/build/vfs_fonts.js”,
    “{$config.path.node_modules}/datatables.net-buttons/js/dataTables.buttons.min.js”,
    “{$config.path.node_modules}/datatables.net-buttons-bs4/js/buttons.bootstrap4.min.js”,
    “{$config.path.node_modules}/datatables.net-buttons/js/buttons.colVis.js”,
    “{$config.path.node_modules}/datatables.net-buttons/js/buttons.flash.js”,
    “{$config.path.node_modules}/datatables.net-buttons/js/buttons.html5.js”,
    “{$config.path.node_modules}/datatables.net-buttons/js/buttons.print.js”,

    “{$config.path.node_modules}/datatables.net-colreorder/js/dataTables.colReorder.min.js”,

    “{$config.path.node_modules}/datatables.net-fixedcolumns/js/dataTables.fixedColumns.min.js”,

    “{$config.path.node_modules}/datatables.net-fixedheader/js/dataTables.fixedHeader.min.js”,

    “{$config.path.node_modules}/datatables.net-keytable/js/dataTables.keyTable.min.js”,

    “{$config.path.node_modules}/datatables.net-responsive/js/dataTables.responsive.min.js”,
    “{$config.path.node_modules}/datatables.net-responsive-bs4/js/responsive.bootstrap4.min.js”,

    “{$config.path.node_modules}/datatables.net-rowgroup/js/dataTables.rowGroup.min.js”,

    “{$config.path.node_modules}/datatables.net-rowreorder/js/dataTables.rowReorder.min.js”,

    “{$config.path.node_modules}/datatables.net-scroller/js/dataTables.scroller.min.js”,

    “{$config.path.node_modules}/datatables.net-select/js/dataTables.select.min.js”
    ]
    },
    “bundle”: {
    “styles”: “{$config.output}/vendors/custom/datatables/datatables.bundle.css”,
    “scripts”: “{$config.output}/vendors/custom/datatables/datatables.bundle.js”
    }
    }
    }
    },
    “demo”: {
    “default”: {
    “base”: {
    “src”: {
    “styles”: [
    “{$config.path.src}/sass/demo/default/style.scss”
    ],
    “scripts”: [
    “{$config.path.src}/js/framework/base/util.js”,
    “{$config.path.src}/js/framework/base/app.js”,
    “{$config.path.src}/js/framework/components/general/datatable/datatable.js”,
    “{$config.path.src}/js/framework/components/general/**/*.js”,
    “{$config.path.src}/js/demo/default/base/**/*.js”,
    “{$config.path.src}/js/app/base/**/*.js”,
    “{$config.path.src}/js/snippets/base/**/*.js”
    ]
    },
    “bundle”: {
    “styles”: “{$config.output}/demo/default/base/style.bundle.css”,
    “scripts”: “{$config.output}/demo/default/base/scripts.bundle.js”
    }
    },
    “custom”: {
    “src”: {
    “scripts”: [
    “{$config.path.src}/js/demo/default/custom/**/*.js”
    ],
    “media”: [
    “{$config.path.src}/media/demo/default/**/*.*”
    ]
    },
    “output”: {
    “scripts”: “{$config.output}/demo/default/custom/”,
    “media”: “{$config.output}/demo/default/media/”
    }
    }
    },
    “demo2”: {
    “base”: {
    “src”: {
    “styles”: [
    “{$config.path.src}/sass/demo/demo2/style.scss”
    ],
    “scripts”: [
    “{$config.path.src}/js/framework/base/util.js”,
    “{$config.path.src}/js/framework/base/app.js”,
    “{$config.path.src}/js/framework/components/general/datatable/datatable.js”,
    “{$config.path.src}/js/framework/components/general/**/*.js”,
    “{$config.path.src}/js/demo/demo2/base/**/*.js”,
    “{$config.path.src}/js/app/base/**/*.js”,
    “{$config.path.src}/js/snippets/base/**/*.js”
    ]
    },
    “bundle”: {
    “styles”: “{$config.output}/demo/demo2/base/style.bundle.css”,
    “scripts”: “{$config.output}/demo/demo2/base/scripts.bundle.js”
    }
    },
    “custom”: {
    “src”: {
    “scripts”: [
    “{$config.path.src}/js/demo/demo2/custom/**/*.js”
    ],
    “media”: [
    “{$config.path.src}/media/demo/demo2/**/*.*”
    ]
    },
    “output”: {
    “scripts”: “{$config.output}/demo/demo2/custom/”,
    “media”: “{$config.output}/demo/demo2/media/”
    }
    }
    },
    “demo3”: {
    “base”: {
    “src”: {
    “styles”: [
    “{$config.path.src}/sass/demo/demo3/style.scss”
    ],
    “scripts”: [
    “{$config.path.src}/js/framework/base/util.js”,
    “{$config.path.src}/js/framework/base/app.js”,
    “{$config.path.src}/js/framework/components/general/datatable/datatable.js”,
    “{$config.path.src}/js/framework/components/general/**/*.js”,
    “{$config.path.src}/js/demo/demo3/base/**/*.js”,
    “{$config.path.src}/js/app/base/**/*.js”,
    “{$config.path.src}/js/snippets/base/**/*.js”
    ]
    },
    “bundle”: {
    “styles”: “{$config.output}/demo/demo3/base/style.bundle.css”,
    “scripts”: “{$config.output}/demo/demo3/base/scripts.bundle.js”
    }
    },
    “custom”: {
    “src”: {
    “scripts”: [
    “{$config.path.src}/js/demo/demo3/custom/**/*.js”
    ],
    “media”: [
    “{$config.path.src}/media/demo/demo3/**/*.*”
    ]
    },
    “output”: {
    “scripts”: “{$config.output}/demo/demo3/custom/”,
    “media”: “{$config.output}/demo/demo3/media/”
    }
    }
    },
    “demo4”: {
    “base”: {
    “src”: {
    “styles”: [
    “{$config.path.src}/sass/demo/demo4/style.scss”
    ],
    “scripts”: [
    “{$config.path.src}/js/framework/base/util.js”,
    “{$config.path.src}/js/framework/base/app.js”,
    “{$config.path.src}/js/framework/components/general/datatable/datatable.js”,
    “{$config.path.src}/js/framework/components/general/**/*.js”,
    “{$config.path.src}/js/demo/demo4/base/**/*.js”,
    “{$config.path.src}/js/app/base/**/*.js”,
    “{$config.path.src}/js/snippets/base/**/*.js”
    ]
    },
    “bundle”: {
    “styles”: “{$config.output}/demo/demo4/base/style.bundle.css”,
    “scripts”: “{$config.output}/demo/demo4/base/scripts.bundle.js”
    }
    },
    “custom”: {
    “src”: {
    “scripts”: [
    “{$config.path.src}/js/demo/demo4/custom/**/*.js”
    ],
    “media”: [
    “{$config.path.src}/media/demo/demo4/**/*.*”
    ]
    },
    “output”: {
    “scripts”: “{$config.output}/demo/demo4/custom/”,
    “media”: “{$config.output}/demo/demo4/media/”
    }
    }
    },
    “demo5”: {
    “base”: {
    “src”: {
    “styles”: [
    “{$config.path.src}/sass/demo/demo5/style.scss”
    ],
    “scripts”: [
    “{$config.path.src}/js/framework/base/util.js”,
    “{$config.path.src}/js/framework/base/app.js”,
    “{$config.path.src}/js/framework/components/general/datatable/datatable.js”,
    “{$config.path.src}/js/framework/components/general/**/*.js”,
    “{$config.path.src}/js/demo/demo5/base/**/*.js”,
    “{$config.path.src}/js/app/base/**/*.js”,
    “{$config.path.src}/js/snippets/base/**/*.js”
    ]
    },
    “bundle”: {
    “styles”: “{$config.output}/demo/demo5/base/style.bundle.css”,
    “scripts”: “{$config.output}/demo/demo5/base/scripts.bundle.js”
    }
    },
    “custom”: {
    “src”: {
    “scripts”: [
    “{$config.path.src}/js/demo/demo5/custom/**/*.js”
    ],
    “media”: [
    “{$config.path.src}/media/demo/demo5/**/*.*”
    ]
    },
    “output”: {
    “scripts”: “{$config.output}/demo/demo5/custom/”,
    “media”: “{$config.output}/demo/demo5/media/”
    }
    }
    },
    “demo6”: {
    “base”: {
    “src”: {
    “styles”: [
    “{$config.path.src}/sass/demo/demo6/style.scss”
    ],
    “scripts”: [
    “{$config.path.src}/js/framework/base/util.js”,
    “{$config.path.src}/js/framework/base/app.js”,
    “{$config.path.src}/js/framework/components/general/datatable/datatable.js”,
    “{$config.path.src}/js/framework/components/general/**/*.js”,
    “{$config.path.src}/js/demo/demo6/base/**/*.js”,
    “{$config.path.src}/js/app/base/**/*.js”,
    “{$config.path.src}/js/snippets/base/**/*.js”
    ]
    },
    “bundle”: {
    “styles”: “{$config.output}/demo/demo6/base/style.bundle.css”,
    “scripts”: “{$config.output}/demo/demo6/base/scripts.bundle.js”
    }
    },
    “custom”: {
    “src”: {
    “scripts”: [
    “{$config.path.src}/js/demo/demo6/custom/**/*.js”
    ],
    “media”: [
    “{$config.path.src}/media/demo/demo6/**/*.*”
    ]
    },
    “output”: {
    “scripts”: “{$config.output}/demo/demo6/custom/”,
    “media”: “{$config.output}/demo/demo6/media/”
    }
    }
    },
    “demo7”: {
    “base”: {
    “src”: {
    “styles”: [
    “{$config.path.src}/sass/demo/demo7/style.scss”
    ],
    “scripts”: [
    “{$config.path.src}/js/framework/base/util.js”,
    “{$config.path.src}/js/framework/base/app.js”,
    “{$config.path.src}/js/framework/components/general/datatable/datatable.js”,
    “{$config.path.src}/js/framework/components/general/**/*.js”,
    “{$config.path.src}/js/demo/demo7/base/**/*.js”,
    “{$config.path.src}/js/app/base/**/*.js”,
    “{$config.path.src}/js/snippets/base/**/*.js”
    ]
    },
    “bundle”: {
    “styles”: “{$config.output}/demo/demo7/base/style.bundle.css”,
    “scripts”: “{$config.output}/demo/demo7/base/scripts.bundle.js”
    }
    },
    “custom”: {
    “src”: {
    “scripts”: [
    “{$config.path.src}/js/demo/demo7/custom/**/*.js”
    ],
    “media”: [
    “{$config.path.src}/media/demo/demo7/**/*.*”
    ]
    },
    “output”: {
    “scripts”: “{$config.output}/demo/demo7/custom/”,
    “media”: “{$config.output}/demo/demo7/media/”
    }
    }
    },
    “demo8”: {
    “base”: {
    “src”: {
    “styles”: [
    “{$config.path.src}/sass/demo/demo8/style.scss”
    ],
    “scripts”: [
    “{$config.path.src}/js/framework/base/util.js”,
    “{$config.path.src}/js/framework/base/app.js”,
    “{$config.path.src}/js/framework/components/general/datatable/datatable.js”,
    “{$config.path.src}/js/framework/components/general/**/*.js”,
    “{$config.path.src}/js/demo/demo8/base/**/*.js”,
    “{$config.path.src}/js/app/base/**/*.js”,
    “{$config.path.src}/js/snippets/base/**/*.js”
    ]
    },
    “bundle”: {
    “styles”: “{$config.output}/demo/demo8/base/style.bundle.css”,
    “scripts”: “{$config.output}/demo/demo8/base/scripts.bundle.js”
    }
    },
    “custom”: {
    “src”: {
    “scripts”: [
    “{$config.path.src}/js/demo/demo8/custom/**/*.js”
    ],
    “media”: [
    “{$config.path.src}/media/demo/demo8/**/*.*”
    ]
    },
    “output”: {
    “scripts”: “{$config.output}/demo/demo8/custom/”,
    “media”: “{$config.output}/demo/demo8/media/”
    }
    }
    },
    “demo9”: {
    “base”: {
    “src”: {
    “styles”: [
    “{$config.path.src}/sass/demo/demo9/style.scss”
    ],
    “scripts”: [
    “{$config.path.src}/js/framework/base/util.js”,
    “{$config.path.src}/js/framework/base/app.js”,
    “{$config.path.src}/js/framework/components/general/datatable/datatable.js”,
    “{$config.path.src}/js/framework/components/general/**/*.js”,
    “{$config.path.src}/js/demo/demo9/base/**/*.js”,
    “{$config.path.src}/js/app/base/**/*.js”,
    “{$config.path.src}/js/snippets/base/**/*.js”
    ]
    },
    “bundle”: {
    “styles”: “{$config.output}/demo/demo9/base/style.bundle.css”,
    “scripts”: “{$config.output}/demo/demo9/base/scripts.bundle.js”
    }
    },
    “custom”: {
    “src”: {
    “scripts”: [
    “{$config.path.src}/js/demo/demo9/custom/**/*.js”
    ],
    “media”: [
    “{$config.path.src}/media/demo/demo9/**/*.*”
    ]
    },
    “output”: {
    “scripts”: “{$config.output}/demo/demo9/custom/”,
    “media”: “{$config.output}/demo/demo9/media/”
    }
    }
    },
    “demo10”: {
    “base”: {
    “src”: {
    “styles”: [
    “{$config.path.src}/sass/demo/demo10/style.scss”
    ],
    “scripts”: [
    “{$config.path.src}/js/framework/base/util.js”,
    “{$config.path.src}/js/framework/base/app.js”,
    “{$config.path.src}/js/framework/components/general/datatable/datatable.js”,
    “{$config.path.src}/js/framework/components/general/**/*.js”,
    “{$config.path.src}/js/demo/demo10/base/**/*.js”,
    “{$config.path.src}/js/app/base/**/*.js”,
    “{$config.path.src}/js/snippets/base/**/*.js”
    ]
    },
    “bundle”: {
    “styles”: “{$config.output}/demo/demo10/base/style.bundle.css”,
    “scripts”: “{$config.output}/demo/demo10/base/scripts.bundle.js”
    }
    },
    “custom”: {
    “src”: {
    “scripts”: [
    “{$config.path.src}/js/demo/demo10/custom/**/*.js”
    ],
    “media”: [
    “{$config.path.src}/media/demo/demo10/**/*.*”
    ]
    },
    “output”: {
    “scripts”: “{$config.output}/demo/demo10/custom/”,
    “media”: “{$config.output}/demo/demo10/media/”
    }
    }
    },
    “demo11”: {
    “base”: {
    “src”: {
    “styles”: [
    “{$config.path.src}/sass/demo/demo11/style.scss”
    ],
    “scripts”: [
    “{$config.path.src}/js/framework/base/util.js”,
    “{$config.path.src}/js/framework/base/app.js”,
    “{$config.path.src}/js/framework/components/general/datatable/datatable.js”,
    “{$config.path.src}/js/framework/components/general/**/*.js”,
    “{$config.path.src}/js/demo/demo11/base/**/*.js”,
    “{$config.path.src}/js/app/base/**/*.js”,
    “{$config.path.src}/js/snippets/base/**/*.js”
    ]
    },
    “bundle”: {
    “styles”: “{$config.output}/demo/demo11/base/style.bundle.css”,
    “scripts”: “{$config.output}/demo/demo11/base/scripts.bundle.js”
    }
    },
    “custom”: {
    “src”: {
    “scripts”: [
    “{$config.path.src}/js/demo/demo11/custom/**/*.js”
    ],
    “media”: [
    “{$config.path.src}/media/demo/demo11/**/*.*”
    ]
    },
    “output”: {
    “scripts”: “{$config.output}/demo/demo11/custom/”,
    “media”: “{$config.output}/demo/demo11/media/”
    }
    }
    },
    “demo12”: {
    “base”: {
    “src”: {
    “styles”: [
    “{$config.path.src}/sass/demo/demo12/style.scss”
    ],
    “scripts”: [
    “{$config.path.src}/js/framework/base/util.js”,
    “{$config.path.src}/js/framework/base/app.js”,
    “{$config.path.src}/js/framework/components/general/datatable/datatable.js”,
    “{$config.path.src}/js/framework/components/general/**/*.js”,
    “{$config.path.src}/js/demo/demo12/base/**/*.js”,
    “{$config.path.src}/js/app/base/**/*.js”,
    “{$config.path.src}/js/snippets/base/**/*.js”
    ]
    },
    “bundle”: {
    “styles”: “{$config.output}/demo/demo12/base/style.bundle.css”,
    “scripts”: “{$config.output}/demo/demo12/base/scripts.bundle.js”
    }
    },
    “custom”: {
    “src”: {
    “scripts”: [
    “{$config.path.src}/js/demo/demo12/custom/**/*.js”
    ],
    “media”: [
    “{$config.path.src}/media/demo/demo12/**/*.*”
    ]
    },
    “output”: {
    “scripts”: “{$config.output}/demo/demo12/custom/”,
    “media”: “{$config.output}/demo/demo12/media/”
    }
    }
    }
    },
    “snippets”: {
    “apps”: {
    “src”: {
    “scripts”: [
    “{$config.path.src}/js/snippets/apps/**/*.js”
    ]
    },
    “output”: {
    “scripts”: “{$config.output}/snippets/apps”
    }
    },
    “custom”: {
    “src”: {
    “scripts”: [
    “{$config.path.src}/js/snippets/custom/**/*.js”
    ]
    },
    “output”: {
    “scripts”: “{$config.output}/snippets/custom”
    }
    }
    },
    “app”: {
    “src”: {
    “scripts”: [
    “{$config.path.src}/js/app/custom/**/*.js”
    ],
    “media”: [
    “{$config.path.src}/media/app/**/*.*”
    ]
    },
    “output”: {
    “scripts”: “{$config.output}/app/js”,
    “media”: “{$config.output}/app/media”
    }
    }
    }
    }

    Jai
    Jai
    Keymaster

    Posts: 2700
    Support Staff Reply #18164

    Hi 🙂

    No issue with your configuration. How did you compile it? Are there any errors?

    Is it for default HTML or angular?

    Thanks


    eko
    Participant

    Posts: 109
    Member Reply #18166

    it for Default. I’m compile by this way:

    1. in folder tools i type ‘yarn install

    2. and then i type ‘gulp –prod’.

    that it. and then i copy the vendor.bundle.js and vendor.bundle.css. so is it anything that i miss here? thanks.

    • This reply was modified 5 months, 1 week ago by  eko.
    • This reply was modified 5 months, 1 week ago by  eko.
    Jai
    Jai
    Keymaster

    Posts: 2700
    Support Staff Reply #18194

    Hi 🙂

    Can you please try to run command “gulp” without “–prod”?

    Thanks


    eko
    Participant

    Posts: 109
    Member Reply #18204

    nothing change, i still got same error.


    eko
    Participant

    Posts: 109
    Member Reply #18230

    Seems like some dependencies are missing i also got an error on App.scrollTo(); what did i miss here? thanks.

    • This reply was modified 5 months ago by  eko.
    Attachments:
    You must be logged in to view attached files.

    eko
    Participant

    Posts: 109
    Member Reply #18234

    Do you guys change the layout function or something? i recreate the html and everything work ok. i got no more error even from the bundle that i made by yarn. this error happen even i use your default bundle files.


    eko
    Participant

    Posts: 109
    Member Reply #18235

    t.pausedropdown error is gone but mApp.scrollTo still error.


    eko
    Participant

    Posts: 109
    Member Reply #18236

    Seem like it’s not just on my site, even in your demo site got this errors.

    Attachments:
    You must be logged in to view attached files.
    Jai
    Jai
    Keymaster

    Posts: 2700
    Support Staff Reply #18251

    Hi 🙂

    How do I reproduce the error on our online demo site?

    Thanks


    eko
    Participant

    Posts: 109
    Member Reply #18255

    go to your Validation Form at the demo site and then hit Validate button.

    Jai
    Jai
    Keymaster

    Posts: 2700
    Support Staff Reply #18297

    Hi 🙂

    Ok, we will fix mApp.scrollTo error in the next updates soon.

    Thanks


    eko
    Participant

    Posts: 109
    Member Reply #18299

    can you guys check or at least explain why it give an error Uncaught TypeError: t.pauseDropdownHover when sidebar is minimized? i don’t have any problem before the latest update.

    Jai
    Jai
    Keymaster

    Posts: 2700
    Support Staff Reply #18317

    Hi 🙂

    In the latest version, we have moved scrollTo to mUtil, eg. mUtil.scrollTo()

    We might be moved it or update somewhere in the core, and the t variable is null.

    How did you update the theme? By replacing the scripts.bundle.js and vendors.bundle.js right?

    Thanks

You must be logged in to reply to this topic.