Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plans to get the Example links working with the latest version? #62

Open
naabers2 opened this issue Sep 27, 2023 · 4 comments
Open

Plans to get the Example links working with the latest version? #62

naabers2 opened this issue Sep 27, 2023 · 4 comments

Comments

@naabers2
Copy link

We are using AU 1.3.1 and Highchart in our existing commercial product hoping to migrate from Highchart to Chart.js. The aurelia-chart project seems like a perfect fit for our replacement needs. Our app was built using all AU CLI defaults (Default ESNext app - A basic app with Babel and Webpack). Do you have a working example of Webpack with the latest aurelia-chart package (not TypeScript)? I clicked on the example links and got '404: Not Found'. Definitely appreciate any kind of help getting started with aurelia-chart. I have successfully built using AU 1.3.1 following your Webpack installation instructions, but need the next steps for this configuration (a basic POC example). Thanks so much. --John

@MaximBalaganskiy
Copy link
Collaborator

Webpack demo app https://github.com/grofit/aurelia-chart/tree/master/packages/demo

TS or not should not matter much

@naabers2
Copy link
Author

Thanks for the quick response! So it looks like make my main.js would be similar to main.ts w/the chart.js import, register, and then the 'aurelia-chart' plugin line. This is the main integration point if I understand that demo link correctly. Then the rest is just basic Aurelia. Sorry for not fully understanding TS.

@naabers2
Copy link
Author

Unfortunately, I was not able to get 'aurelia-chart' working with AU 1.3.1 today. This was creating a new Default ESNext app and adding to it. On the surface, it looks like it should be easy. I was very surprised the newly created app by AU did not build out-of-box (aurelia/cli#1197), but the work around was easy for that. Rather than go through error discussions, if you are able to do an AU 1.3.1 hello 'aurelia-chart' example that would be of great help. Thanks again for your response and help.

@MaximBalaganskiy
Copy link
Collaborator

I think default CLI issues are out of this repository scope

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants