How to include external scripts in the index.html?

I need to include a script which is in the node_modules:

<script src="node_modules/chart.js/src/chart.js"></script>

But it gives me 404 error.

How could I include a external script in index.html?

How to include external scripts in the index.html?

 ` <script type="text/javascript" src="assets/chart/fusioncharts.js"></script>`

Can’t generate index.html file while > ionic serve

1 Like