In this example, you can see how to create a Vite custom bundle for DevExtreme Vue components.
- Clone the repository.
git clone https://github.com/DevExpress-Examples/devextreme-vite-vue-bundling.git
- Go to the project folder.
cd devextreme-vite-vue-bundling
- Install the required modules.
npm install
- Bundle the modules. The bundle is located in the devextreme-bundle folder.
npm run build:devextreme-bundle
- Start Vue app to test the bundle.
npm run dev
or
npm run build
npm run preview
You can also modify the main.js file to include only modules necessary for your bundle components.
- DataGrid for DevExtreme - How to use DataGrid in an MVC 5 App
- DataGrid for DevExtreme - How to use DataGrid with a WebAPI
- PivotGrid for DevExtreme - How to use PivotGrid with a WebAPI
- DevExtreme with Webpack
- DevExtreme with JSPM
- DevExtreme with RequireJS
(you will be redirected to DevExpress.com to submit your response)