当前位置:网站首页>uniapp引入组件不生效解决方法
uniapp引入组件不生效解决方法
2022-06-29 08:18:00 【S筱潇S四维Smile】
自定义footer组件:

在父组件中使用时引入:
<template>
<footer :active="3"></footer>
</template>
<script>
import footer from '../../../components/footer/footer.vue'
export default {
components: {
footer
},
}
</script>上面方法就是无效不显示组件,也没有报错~
在模板中的footer改成大写Footer就可以了。。。
<template>
<Footer :active="3"></Footer>
</template>
<script>
import footer from '../../../components/footer/footer.vue'
export default {
components: {
footer
},
}
</script>边栏推荐
- 2022春夏系列 KOREANO ESSENTIAL重塑时装生命力
- Application of mediastreamer2 and GStreamer in embedded field
- 随心玩玩(三)Mirai框架QQ机器人
- Official reply on issues related to the change of children's names after parents' divorce
- Paddlenlp general information extraction model: UIE [information extraction {entity relationship extraction, Chinese word segmentation, accurate entity markers, emotion analysis, etc.}, text error cor
- 晋升或汇报,你真的把事情讲清楚了吗?
- P6772 [NOI2020] 美食家(矩阵快速幂)
- Memoirs of actual combat: breaking the border from webshell
- Dialogue | prospects and challenges of privacy computing in the digital age
- 工厂模式
猜你喜欢

ThreadLocal线程变量

Baodawei of the people's Chain: break down barriers and establish a global data governance sharing and application platform

Transformer details

城通网盘仿蓝奏网盘源码 附带视频教程

Leetcode(142)——环形链表 II

各种级数(调和、几何)总结

Résumé des différentes séries (harmoniques, géométriques)

Huawei equipment is configured with medium-sized network WLAN basic services

2022春夏系列 KOREANO ESSENTIAL重塑时装生命力

批量处理实验接触角数据-MATLAB分析
随机推荐
Wechat applet development, how to add multiple spaces
Matlab 用法
Tutorial on building open source Internet of things platform
壁纸小程序源码双端微信抖音小程序
802.11--802.11n protocol phy
Summary of various series (harmonic, geometric)
P4769-[NOI2018]冒泡排序【组合数学,树状数组】
微积分学习
Uber前安全主管面临欺诈指控 曾隐瞒数据泄露事件
今年的网络安全“体检”你做了吗?
The final of the sixth season of 2022 perfect children's model Hefei division came to a successful conclusion
[untitled]
ES6数据类型Map&Set
Sorting out easily confused words in postgraduate entrance examination English 【 flash 】
通过ELO机制衡量各类对弈活动水平
Interprocess communication (IPC)
Memoirs of actual combat: breaking the border from webshell
Swift中@dynamicMemberLookup和callAsFunction特性实现对象透明代理功能
《乔布斯传》英文原著重点词汇笔记(七)【 chapter five】
首次触电,原来你是这样的龙蜥社区 | 龙蜥开发者说第8期