当前位置:网站首页>Uncaught TypeError: Cannot read properties of undefined (reading ‘prototype‘)
Uncaught TypeError: Cannot read properties of undefined (reading ‘prototype‘)
2022-06-25 06:42:00 【-Geng Rui-】
You may not believe it This question is really yours vue The version is too high
It is not recommended that you reduce vue edition
You can easily introduce element-plus
npm install element-plus --save
then main.js Refer to the code
import {
createApp} from 'vue'
import App from './App.vue'
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
createApp(App).use(ElementPlus).mount('#app')
And then in App.vue Write a element ui Component try
<template>
<div id = "app">
<el-button icon="el-icon-plus" size="small"> I am a element-plus Button </el-button>
</div>
</template>
<script> export default {
name: 'App', } </script>
<style> </style>

The effect is also very good
边栏推荐
- Unity获取资源路径
- Grouped uitableview has 20px of extra padding at the bottom
- [轻松学会shell编程]-5、计划任务
- You can see the classification of SQL injection. SQL injection point /sql injection type /sql injection has several /sql injection point classifications
- Self adjustment process of MySQL index tree when adding data
- Report on development status and investment strategy recommendations of global and Chinese graphite polystyrene board industry 2022-2028
- In a single-page app, what is the right way to deal with wrong URLs (404 errors)?
- Your local changes to the following files would be overwritten by merge: .vs/slnx.sqlite
- [从零开始学习FPGA编程-43]:视野篇 - 后摩尔时代”芯片设计的技术演进-2-演进方向
- Ht8513 single lithium battery power supply with built-in Dynamic Synchronous Boost 5W mono audio power amplifier IC solution
猜你喜欢

Cve-2022-23131 - bypass SAML SSO authentication

了解zbrush雕刻软件,以及游戏建模的分析

Cs8683 (120W mono class D power amplifier IC)

原子Alpha开发板--SD卡和emmc烧录工具

sin(a+b)=sina*cosb+sinb*cosa的推导过程

Single lithium battery 3.7V power supply 2x12w stereo boost audio power amplifier IC combination solution

joda.time获取日期总结

Kubernetes cluster dashboard & kuboard installation demo

Non-contact infrared temperature measurement system for human body based on single chip microcomputer

Baidu map - introductory tutorial
随机推荐
[acnoi2022] the structure of President Wang
Can TCP syn handshake messages transmit data
joda.time获取日期总结
SAP QM executes the transaction code qp01, and the system reports an error -material type food is not defined for task list type Q-
Brief introduction and use of JSON
Cve-2022-23131 - bypass SAML SSO authentication
百度地图——入门教程
ACWING2013. 三条线
Are these old system codes written by pigs?
聚类和分类的最基本区别。
Report on development status and investment strategy recommendations of global and Chinese graphite polystyrene board industry 2022-2028
What is VLAN
2022 AI trend 8 forecast!
Ht7180 3.7V L 12v/2a built in MOS high current boost IC solution
fastadmin 联级清空数据
Why can't GC () free memory- Why does gc() not free memory?
父爱的表达方式
CTFHub-Web-信息泄露-目录遍历
After unplugging the network cable, does the original TCP connection still exist?
How to create a handy vs Code?