Skip to content

Latest commit

 

History

History
 
 

requirejs-angularjs

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

DevExtreme with RequireJS and AngularJS example

This project demonstrates how to use DevExtreme widgets loading only modules with the required functionality. This demo shows the dxButton widget with the alert dialog as an example. Here, the AngularJS approach is used. The example uses RequireJS to load scripts on demand.

Getting Started

  1. Clone the repository
git clone https://github.com/devexpress/devextreme-examples.git
  1. Go to the project folder
cd devextreme-examples/requirejs-angularjs
  1. Install the required modules. This command will also convert the DevExtreme package to the AMD module format by using the npm postinstall script.
npm install
  1. Open the index.html file in your browser

Resources

For detailed information on modularity, see the DevExtreme Modularity Guide.