dhtmlxScheduler with Vue.js
This tutorial shows how to use the JS DHTMLX Scheduler package directly in a Vue app without the official wrapper.
If you want Vue props/events, wrapper-managed sync, and wrapper composables, use Vue Scheduler instead.
This page is for low-level integration. You initialize and manage the Scheduler instance yourself.
Prerequisites
- Node.js installed
- Basic Vue 3 knowledge (components, refs, lifecycle hooks)
- A Vue 3 project (this tutorial shows how to create one with Vite)
Create A Vue Project
Create a Vue 3 app with Vite:
npm create vue@latest scheduler-vue-app
cd scheduler-vue-app
Install dependencies and start the dev server once to confirm the project works:
- npm:
npm install
npm run dev
- yarn:
yarn install
yarn dev
You should now have your Vue project running on http://localhost:5173.

Creating Scheduler
Now we should get the DHTMLX Scheduler code. Firstly, we need to stop the app by pressing Ctrl+C in the command line. Then we can proceed with installing the Scheduler package.
Step 1. Package installation
The PRO versions of the library are available for the npm/yarn install from our private repository, please follow this instruction to gain access to it.
After you've got the Evaluation version of the Scheduler, you can install it with the following commands:
- for npm:
npm install @dhx/trial-scheduler
- for yarn:
yarn add @dhx/trial-scheduler
Alternatively, since the zip-package of the library is structured as an npm module, you can install it from a local folder.