腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
搜索
关闭
文章
问答
(765)
视频
开发者手册
清单
用户
专栏
沙龙
全部问答
原创问答
Stack Exchange问答
更多筛选
回答情况:
全部
有回答
回答已采纳
提问时间:
不限
一周内
一月内
三月内
一年内
问题标签:
未找到与 相关的标签
筛选
重置
1
回答
如何在
defineComponent
3.0中注册本地组件
import {
defineComponent
, ref } from 'vue' const count = ref(0)})在旧风格中,您将在组件定义对象中使用components
浏览 4
修改于2020-09-29
得票数 6
回答已采纳
1
回答
如何在vue 3中的` `
defineComponent
()`中键入vue实例?
TypeScript编写: /// modal.vue <div class="modal"></div>import {
defineComponent
} from "vue"; name: "Modal"
浏览 49
提问于2020-09-21
得票数 5
1
回答
Hilt:@
DefineComponent
dagger.hilt.components.SingletonComponent缺少父声明
我正在设置一个使用Jetpack Compose + Hilt + Coroutines的项目。我没有使用任何片段。它是一个基于单一活动(ComponentActivity)的项目。我用的是最新版本: Kotlin : 1.4.31 & Hilt : 2.33-beta 这是日志错误快照:Logcat snapshot 我知道这个问题早些时候已经被问过了,但是问题是使用了一个被弃用的Hilt库,其中"ApplicationComponent“已经在AppModule中被弃用了。请看一下设置: AppModule: @Module @InstallIn(SingletonCom
浏览 49
修改于2021-03-26
得票数 1
回答已采纳
1
回答
HeadlessUI/vue: TypeError vue.
defineComponent
不是一个函数
TypeError vue.
defineComponent
is not a function
浏览 2
修改于2022-03-28
得票数 4
回答已采纳
1
回答
/节点_模块/vue/type’没有导出成员'
defineComponent
‘。
/节点_模块/vue/type’‘没有导出成员'
defineComponent
’。 有办法解决这个问题吗?我已经找了好几个小时的解决方案了,但一直找不到。
浏览 0
修改于2021-02-23
得票数 0
回答已采纳
1
回答
使用Vue3
defineComponent
方法无法访问数据属性,数据=未定义
<script lang="ts"> import TrendingTVShow from '@/componentsfrom '@/components/TVShowOverlay.vue'; export default
defineCompone
浏览 5
修改于2022-10-11
得票数 0
2
回答
Vue 3从vue.js中的第三方库扩展了
defineComponent
组件
在setup中,
defineComponent
包含该组件。<template></template> import { setup() {
浏览 2
修改于2021-08-10
得票数 2
回答已采纳
2
回答
单水疗集Vue作为外部:
defineComponent
不是一个功能
它会崩溃,如下所示: Uncaught TypeError: application '@workspace/foo' died in status LOADING_SOURCE_CODE: (0 , t.
defineComponent
浏览 46
修改于2022-05-20
得票数 0
回答已采纳
1
回答
哪种方法更好地创建vue组件(导出默认组件、
defineComponent
组件和新Vue组件)
关于vue 3,我们应该使用导出默认值来创建组件,还是应该导出默认
defineComponent
或新的Vue({希望我的问题足够清楚。 谢谢
浏览 0
提问于2021-04-06
得票数 6
1
回答
@InstallIn,只能与@
DefineComponent
注释的类一起使用,但发现:[com.abc.xyz.AppClass]
创建的模块为在ViewModel类中注入为但在执行完所有步骤后,我收到错误消息"@InstallIn,只能与@
DefineComponent
浏览 12
提问于2021-06-15
得票数 1
回答已采纳
3
回答
SingletonComponent缺少父声明
Please declare the parent, for example: @
DefineComponent
(parent = ApplicationComponent.class) @
DefineComponent
dagger.hilt.components.SingletonComponentPlease declare the parent, for example: @
DefineComponent
(parent = Appl
浏览 13
提问于2021-02-05
得票数 30
回答已采纳
1
回答
Vue3道具弦或PropType
所以就像这样: props: { type: [String, Object] }但是,如果它是一个对象,我想添加一个类似于so的类型(取自vue3文档):} const Component =
defineComponent</em
浏览 1
修改于2021-05-05
得票数 0
回答已采纳
2
回答
如何在不通过`data`暴露的情况下访问`setup`的内部状态?
例如,我有一个组件Fooimport {
defineComponent
, ref } from 'vue' // Foo.tsx export default
defineComponent
data.number}<
浏览 11
修改于2021-05-23
得票数 0
回答已采纳
1
回答
Vuejs - Chart.js包装器vue3- are v2在数据作为对象传递时不显示标签。
<MonthlyChart :chartData="chartData" :chartOptions="chartOptions" />import {
defineComponent
/components/Chart2.vue' name: 'App', M
浏览 2
修改于2022-01-27
得票数 1
1
回答
Vue 3复选框未选中,单击时取消检查
Checkbox /></template>import Checkbox from "primevue/checkbox"export default
defineComponent
({ components:
浏览 4
提问于2021-09-03
得票数 0
1
回答
Vue TSX -如何告诉Typescript允许在可重用组件中使用HTML属性?
假设我有这样的输入组件: </div> }现在,我像这样使用这个组件并提供type="password"属性: import {
defineComponent
/com
浏览 1
提问于2021-03-18
得票数 5
1
回答
Vue3反应值未按预期更新
toRefs(obj), updateObj } <h1>{{ title }}</h1>import {
defineComponent
} from 'vue' const {<tem
浏览 6
提问于2021-04-08
得票数 1
回答已采纳
1
回答
无法将Vue设置函数标记为异步
<template> </template> <script lang="ts"> setup() { const result =, ref, on
浏览 15
修改于2021-12-23
得票数 0
回答已采纳
1
回答
如何使用安装脚本将布局传递给vue组件
<div> </div>在组合api中,可以通过导入布局并将其传递到
defineComponent
的布局选项来传递布局<script lang="ts">import LayoutComponent from '@/path/t
浏览 2
提问于2022-01-18
得票数 1
1
回答
没有找到注入“设置”。Vue组合API提供和注入问题
Test.vueimport {
defineComponent
, provide, reactive } from "vue"; },</script><template></template> import {
defi
浏览 11
修改于2022-09-27
得票数 1
回答已采纳
第 2 页
第 3 页
第 4 页
第 5 页
第 6 页
第 7 页
第 8 页
第 9 页
第 10 页
第 11 页
点击加载更多
领券