Skip to content

This example demonstrates how to create Vite custom bundle for DevExtreme Vue components.

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/devextreme-vite-vue-bundling

Repository files navigation

DevExtreme with Vite - How to create a bundle with DevExtreme Vue components

In this example, you can see how to create a Vite custom bundle for DevExtreme Vue components.

Getting started

  1. Clone the repository.
git clone https://github.com/DevExpress-Examples/devextreme-vite-vue-bundling.git
  1. Go to the project folder.
cd devextreme-vite-vue-bundling
  1. Install the required modules.
npm install
  1. Bundle the modules. The bundle is located in the devextreme-bundle folder.
npm run build:devextreme-bundle
  1. 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.

Documentation

More Examples

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)

About

This example demonstrates how to create Vite custom bundle for DevExtreme Vue components.

Topics

Resources

License

Stars

Watchers

Forks