amcharts3-angular2 icon indicating copy to clipboard operation
amcharts3-angular2 copied to clipboard

Readme missing data

Open jimmykane opened this issue 7 years ago • 1 comments

Hi there the readme is not so well done.

Instead of putting the script tags to point at node_modules (which will not avaialble online) you can edit your CLI for angular:

scripts": [
        "../node_modules/jquery/dist/jquery.js",
        "../node_modules/tether/dist/js/tether.js",
        "../node_modules/bootstrap/dist/js/bootstrap.js",
        "../node_modules/amcharts3/amcharts/amcharts.js",
        "../node_modules/amcharts3/amcharts/serial.js",
        "../node_modules/amcharts3/amcharts/themes/light.js",
      ],

Also I was missing some images so you need to:

"assets": [
        "assets",
        "favicon.ico",
        {
          "glob": "**/*",
          "input": "../node_modules/amcharts3/amcharts/images/",
          "output": "./amcharts/images"
        }
      ],

jimmykane avatar Jun 21 '17 12:06 jimmykane

The README does not assume that you are using angular-cli, so it uses the AmCharts CDN.

You are right that it might be a good idea to put in some directions specifically for angular-cli.

Pauan avatar Jun 24 '17 23:06 Pauan