Questions tagged [element-plus]
117 questions
0
votes
1 answer
vue3 element plus #default="scope"
I am learning vue3 along with element-plus. While studying these concepts, I found [#default="scope"].

koji
- 23
- 5
0
votes
1 answer
Use env.d.ts with Laravel 9 + Vite?
I am trying to bootstrap a new laravel project with element-plus taking inspiration from element-plus-vite-starter.
I've created the new project with:
laravel new laravel-vue3
Then installed whatever was mentioned in the tutorials I followed.
I was…

nowox
- 25,978
- 39
- 143
- 293
0
votes
2 answers
Why is Element-plus not working inside storybook?
I have done everything in accordance with the docs.
I installed storybook, and then I changed the config file the way they say has to be done to make storybook work on Vite, which supports the element-plus library.
.storybook/main.js:
module.exports…

happy_story
- 1
- 1
- 7
- 17
0
votes
1 answer
Vue 3 Element-plus Virtualized Table fill with real data
I am a newbee in frontend, I am trying to implement Element-plus Virtualized Table with real data. The basic example structure is:
const generateColumns = (length = 10, prefix = 'column-', props?: any) =>
Array.from({ length }).map((_,…

MikeN
- 1
0
votes
1 answer
How can I change the content of an element plus vuejs component?
I need to change the content of element plus components.
I tried using and , but without success.

marcelo.delta
- 2,730
- 5
- 36
- 71
0
votes
1 answer
Can we extend element plus 'El Tree' component(build with compsition api) to our custom component and use their props?
I am new to vue3, in vue 2 version the "element-ui" uses the "option API" on "ElTree" component so that I can able to extend the 'ElTree' in my custom component and access 'ElTree' props like 'root, dragState'. But now the 'element-plus' library…

SandyKrish
- 222
- 1
- 11
0
votes
1 answer
When I use unplugin-icons, how do I render icon components dynamically in Vue
When I use element-plus to create an icon component, I use unplugin-icons and unplugin-auto-import to automatically import icons, for example I use < /el-icon> to import an icon component. Now I have a requirement, I have an…

zzw6df7
- 1
0
votes
1 answer
Vue3 dynamic classes
I want to give dynamic or different classes to different rows of an element plus table. Basically, I want to give different colors to each row. I want to iterate an array that has colors in it for example
const colors = ["blue","yellow","black"]
I…

shakeel70
- 61
- 9
0
votes
0 answers
Error in defining specific Instance type in Vuejs
So I am creating tables (element plus table) by looping.
I…

Tallion 22
- 141
- 1
- 11
0
votes
1 answer
Enable dark mode in ElementPlus with CDN
How do i set the theme to dark when using ElementUI + Vue with CDNs?
I know that with npm you edit some scss files but i dont use npm.
…

Andromeda91
- 33
- 1
0
votes
1 answer
Element Plus: How to style the rendered components
I am trying to style element plus' el-radio-button in a el-radio-group to have different colours. It is not available by the el-radio-button properties, so I'm trying to target the rendered html elements. When I inspect my webpage, something like…

cSharp
- 2,884
- 1
- 6
- 23
0
votes
1 answer
How to change colors of a tempa element plus in nuxt3?
We have a Nuxt3 installation and we are trying to use Element ui.
We would like to know how we can change the colors.
I tried to enter the site that customizes the themes, but it is not working.
https://element.eleme.io/#/en-US/theme
I also tried…

marcelo.delta
- 2,730
- 5
- 36
- 71
0
votes
0 answers
Element-Plus Input component for Vue 3
When autosizing an input (textarea) I’ve created with Element Plus for Vue 3, a new line is created before the text reaches the end of the line being typed. This makes the input box unnecessarily large, and there’s unneeded white space after the…

Mark Okoh
- 51
- 1
- 4
0
votes
1 answer
Configure el-date-picker
Does someone know, how to configure a el-date-picker in element-plus to set the first day of week.
The docs say it configurable via day.js but not to use configure day.js in element.
I have done this so far.
import de from…

Ace of Spade
- 388
- 3
- 22
0
votes
1 answer
How to create my own component to render icons in element-plus?
In element-plus we already have icons for example
how can use these icons so i can create my own component
and i pass the name property so i can get the icon
my Icon component as follows;