当前位置:网站首页>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>边栏推荐
猜你喜欢

华为设备配置小型网络WLAN基本业务
![Target tracking [single target tracking (vot/sot), target detection, pedestrian re identification (re ID)]](/img/f2/d42032f05214a4ad9339ea18966cc2.jpg)
Target tracking [single target tracking (vot/sot), target detection, pedestrian re identification (re ID)]

Oracle-子查询

华为设备配置中型网络WLAN基本业务

闭关修炼(二十五)基础web安全

Interprocess communication (IPC)

航芯开发板&调试器

TypeScript 变量声明 —— 类型断言

The @dynamicmemberlookup and callasfunction features in swift implement the object transparent proxy function

Carbon emission reduction of second-hand trading platform, with assessment standards
随机推荐
Application of mediastreamer2 and GStreamer in embedded field
机器人代码生成器之Robcogen使用教程
壁纸小程序源码双端微信抖音小程序
15 things to learn in a year of internship in famous enterprises, so you can avoid detours.
Compare homekit, MI family, and zhiting family cloud edition for what scene based experiences
How to gain profits from the operation of the points mall
Voice processing tool: Sox
Interprocess communication (IPC)
Typescript variable declaration - type assertion
Baodawei of the people's Chain: break down barriers and establish a global data governance sharing and application platform
TypeScript 变量声明 —— 类型断言
New paid Tarot calculation source code (with building tutorial)
各種級數(調和、幾何)總結
Some behaviors of Apple developers that are prone to investigation
sed 替换值为变量
Does the SQL server run with administrator privileges? Or run it as a normal user?
Chengtong network disk imitation blue playing network disk source code with video tutorial
随心玩玩(三)Mirai框架QQ机器人
微积分学习
VMware vcenter/esxi series vulnerability summary