aurelia-ui-toolkits / aurelia-syncfusion-bridge

27 stars 21 forks source link

Setup with aurelia-cli #67

Closed ModernRonin closed 6 years ago

ModernRonin commented 6 years ago

Hi,

the docs don't say anything about installing in an aurelia-cli project. So far I got in my aurelia.json:

"aurelia-syncfusion-bridge",
          {
            "name": "syncfusion",
            "path": "../node_modules/syncfusion-javascript",
            "main": "/Scripts/ej/web/ej.web.all.min",
            "deps": [
              "jquery",
              "jsrender"
            ],
            "exports": "$",
            "resources": [
              "Content/ej/web/ej.widgets.core.min.css",
              "Content/ej/web/bootstrap-theme/ej.theme.min.css"
            ]
          }

however, upon building, when au tries to bundle, I get these messages:

Tracing aurelia-syncfusion-bridge...
 ------- File not found or not accessible ------
| Location: g:/Projects/November/CarRental/CarRental/clients/November.CarRental.WebClient/src/config-builder.js
| Requested by: g:\Projects\November\CarRental\CarRental\clients\November.CarRental.WebClient\node_modules\aurelia-syncfusion-bridge\dist\commonjs\index.js
| Is this a package? Make sure that it is configured in aurelia.json and that it is not a Node.js package
 -----------------------------------------------
 ------- File not found or not accessible ------
| Location: g:/Projects/November/CarRental/CarRental/clients/November.CarRental.WebClient/src/config-builder.js
| Requested by: g:\Projects\November\CarRental\CarRental\clients\November.CarRental.WebClient\node_modules\aurelia-syncfusion-bridge\dist\commonjs\index.js
| Is this a package? Make sure that it is configured in aurelia.json and that it is not a Node.js package
 -----------------------------------------------
Tracing config-builder...
Tracing syncfusion...
Tracing syncfusion/Content/ej/web/ej.widgets.core.min...
Tracing syncfusion/Content/ej/web/bootstrap-theme/ej.theme.min...
Writing app-bundle.js...
Writing vendor-bundle.js...
Finished 'writeBundles'

Any hint what I'm doing wrong?

Many thanks, Max

mariaantony-gnanasekaran commented 6 years ago

@ModernRonin

We have already documented Integration of aurelia-syncfusion-bridge with Aurelia CLI in our Help page. Refer the below link.

https://help.syncfusion.com/aurelia/getting-started/aurelia-cli-integration

If you are still facing the issue, Please share your configuration file or simple Aurelia CLI application in GitHub repository. so, we can solve your configuration issue.