当前位置:网站首页>Uncaught TypeError: Cannot read properties of undefined (reading ‘prototype‘)
Uncaught TypeError: Cannot read properties of undefined (reading ‘prototype‘)
2022-06-25 06:32:00 【-耿瑞-】
说出来你可能不信 这个问题确实是你的vue版本太高了
这里不建议大家减低vue版本
你可以顺手引入一下element-plus
npm install element-plus --save
然后main.js参考一下代码
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')
然后在App.vue中编写一个element ui组件尝试一下
<template>
<div id = "app">
<el-button icon="el-icon-plus" size="small">我是一个element-plus按钮</el-button>
</div>
</template>
<script> export default {
name: 'App', } </script>
<style> </style>

效果也是非常的不错
边栏推荐
猜你喜欢

Es11 new methods: dynamic import(), bigint, globalthis, optional chain, and null value merging operator

Comparison test of mono 120W high power class D power amplifier chip cs8683-tpa3116

Hands on deep learning (III)

IQ debugging of Hisilicon platform ISP and image (1)

Face++ realizes face detection by flow
![[road of system analyst] collection of wrong questions in the chapters of Applied Mathematics and economic management](/img/62/dab2ac0526795f2040394acd9efdd3.jpg)
[road of system analyst] collection of wrong questions in the chapters of Applied Mathematics and economic management

Cs5092 5V USB input boost two section lithium battery charging management IC, SOT23-6 miniature package

Cannot activate inspection type when SAP retail uses transaction code mm41 to create commodity master data?

What is the slice flag bit

How to create a handy vs Code?
随机推荐
An interview question record about where in MySQL
After five years of software testing in ByteDance, I was dismissed in December to remind my brother of paddling
Record of friend guide
Why study discrete mathematics
Asemi fast recovery diode us1m parameters, us1m recovery time, us1m voltage drop
Research Report on brand strategic management and marketing trends in the global and Chinese preserved fruit market 2022
Cve-2022-23131 - bypass SAML SSO authentication
Viewing Chinese science and technology from the Winter Olympics (V): the Internet of things
Research Report on global and Chinese vaccine market profit forecast and the 14th five year plan development strategy 2022-2028
百度地图——入门教程
Report on strategic suggestions on investment direction and Prospect of global and Chinese marine biological industry (2022 Edition)
What is cloud primordial?
Notes on dashboard & kuboard installation in kubernetes cluster
Understand what MSS is
What is VLAN
DNS domain name system
Explain @builder usage
You can see the classification of SQL injection. SQL injection point /sql injection type /sql injection has several /sql injection point classifications
Detailed explanation of @jsoninclude annotation in Jackson
ACWING/2004. 错字