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 requires installed webpack.
- Clone the repository
git clone https://github.com/devexpress/devextreme-examples.git
- Go to the project folder
cd devextreme-examples/webpack-angular
- Install the required modules
npm install
- Bundle the modules
webpack
- Open
index.html
in your browser
For detailed information on modularity, see the DevExtreme Modularity Guide.