Customizing Element UI Calendar Component for Vue.js Applications
Toggle between week and month calendar views
Click on dates in month view to switch to corresponding week view
View specific day's data in week view
Navigate between weeks/months using previous/next buttons
Quick return to today's date in either view
By levearging dayjs for date calculations and Element UI's calendar component, we can impleme ...
Posted on Fri, 24 Jul 2026 16:54:51 +0000 by aviavi
Merging Headers in Element UI Table Component
<el-table-column align="center" label="Standard Output Rate (%)">
<template slot-scope="scope">
<span v-if="scope.row.isEditing">
<el-input v-model="scope.row.stageList[itemIndex].stageLabel" size="mini" placeholder="Enter value" />
&l ...
Posted on Sat, 11 Jul 2026 16:52:03 +0000 by mclamais
Implementing Remote Search and Dynamic Loading with Vue and Element UI's el-select
When using Element UI's el-select, if there are too many option, loading all at once can cause page lag and white screen on dropdown click. We can implement dynamic loading with a custom directive.
First, define a global diretcive in main.js:
Vue.directive('infinite-scroll', {
bind(el, binding) {
const scrollContainer = el.querySelector(' ...
Posted on Thu, 04 Jun 2026 16:16:06 +0000 by bri0987
Programmatic and Declarative Navigation in Vue with Element UI
Installing Vue Router
First, add Vue Router to your project using npm or yarn:
npm install vue-router
# or
yarn add vue-router
Router Configuration
Create a router directory under src and define your routes in index.js:
// src/router/index.js
import Vue from 'vue'
import VueRouter from 'vue-router'
import Dashboard from '@/components/Dashboar ...
Posted on Fri, 29 May 2026 22:23:55 +0000 by everlifefree
Vue Router Configuration for Nested Parent-Child Views
Setting Up Vue Router for Nested Veiws
Configuring nested routes in Vue involves four key steps:
1. Router Configuration (router/index.js)
Define parent and child routes in your router configuraton:
import Vue from 'vue';
import Router from 'vue-router';
import MainLayout from '@/components/layout/MainLayout';
import UserList from '@/component ...
Posted on Tue, 26 May 2026 19:16:32 +0000 by jakobdoppler
Displaying Tabular Data with Vue and Element UI
To quickly build a data table in a Vue project, the Element UI library provides a ready‑to‑use el-table component. After adding Element UI to the project, you can define a Vue single‑file component that renders and populates the table.
Integrating Element UI
In the application entry file (typically main.js), import Element UI and its CSS, then ...
Posted on Thu, 07 May 2026 14:35:16 +0000 by pauleth
Integrating and Using the Element UI Library in Vue Projects
What Element UI Offers
Element UI serves as a desktop-oreinted component library for Vue 2.0, developed by the Ele.me team. It provides pre-built interface pieces—links, buttons, images, tables, forms, pagination bars—that accelerate page construction.
Adding Element to a Project in VS Code
Open the integrated terminal by right‑clicking the pr ...
Posted on Thu, 07 May 2026 13:00:32 +0000 by twmcmahan
Implementing Form Validation Within Element UI Table Rows
When working with Element UI tables contaiinng required form fields in each row, validation can be implemented using the cell-class-name property to dynamically apply error styling to empty fields.
<el-table-column prop="userAge" label="Age">
<template slot-scope="{ row }">
<el-input v-mo ...
Posted on Thu, 07 May 2026 05:42:10 +0000 by ihcra