Skip to content

Angular2-highcharts not working #178

@phani257

Description

@phani257

I have created a new project using angular-cli
I followed all the steps that are suggested at the page
https://www.npmjs.com/package/angular2-highcharts

npm install angular2-highcharts --save
import { ChartModule } from 'angular2-highcharts';
ChartModule.forRoot(require('highcharts')

When I run the app, it says cannot find name 'require'
Do I need to follow any other steps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions