aurelia-ui-toolkits / aurelia-syncfusion-bridge

27 stars 21 forks source link

Question: aurelia-syncfusion-bridge aspnet AureliaSpa template integration #62

Closed atoninelli closed 7 years ago

atoninelli commented 7 years ago

I say I'm totally new to Aurelia and in general to Webpack / npm, this said, I'm trying to integrate the syncfusion UI in the aspnet/JavaScriptServices/templates/AureliaSpa/ template, using aurelia-syncfusion-bridge. Till now without success.

Did the following steps:

Am I missing something? app.html.txt boot.ts.txt package.json.txt webpack.config.js.txt

Thanks for your answers.

karthickthangasamy commented 7 years ago

@atoninelli We suspect that jquery is not exposed properly in window object. Refer to the below snippet.

[boot.ts]

/** Export jQuery to window object **/
import * as $ from 'jquery';
window['jQuery'] = $;
window['$'] = $; 

We created page to integrate aurelia-syncfusion-bridge into SPA templates here

atoninelli commented 7 years ago

Thank you @karthickthangasamy ! Now it's ok. Bye.