
Open the “src/styles.css” file and add this code: /*Īnd also import other style "wijmo/styles/wijmo.css" įirst, we import Wijmo’s CSS, so all Wijmo controls will be properly styled throughout the app. These were imported from the grid and chart modules. Notice the use of the wj-flex-grid, wj-flex-chart, and wj-flex-chart-series directives. Here are some Wijmo controls to help you start: Var countries = 'US,Germany,UK,Japan,Italy,Greece'.split(','),

Open the “src/app/” file and add the Wijmo modules for the grid and chart: // src/app/ When you save changes, the browser will reload the app automatically. You should see the app running in the browser. Import the components you want to use and add the appropriate markup.įollow these steps to create a new Angular app and get it up and running: Task Install the appropriate CLI (Command-Line Interface utility) to generate, run, maintain, and deploy applications. The basic steps for creating and maintaining applications are the same in all frameworks: Instead, we'll focus on the task of adding Wijmo to simple applications written in Angular. All these tools are incredibly popular and thoroughly documented, and you can read our e-book on frameworks for a good overview.

In this tutorial, we won't get into the details of NPM, Webpack, or Angular itself. Read more about Wijmo's Angular Components including a powerful Angular DataGrid. This blog focuses on Angular, Google’s framework for building JavaScript applications that live on the web, mobile, or the desktop, this full-featured framework combines declarative templates, dependency injection, and includes end-to-end tooling.


In this series, we'll show how you can use Wijmo with NPM and Webpack to create applications targeting the most popular JavaScript application frameworks. Read more about Wijmo NPM Package Changes. For the convenience of our customers, we continue publishing new Wijmo builds as non-scoped ‘wijmo’ packages as well. Beginning with Wijmo 2019 v1 release, Wijmo packages are also available in the npm scope, and the use of these packages is the recommended for new applications. Notice: Code examples in this blog use Wijmo modules from the non-scoped ‘wijmo’ npm package.
