-
项目几乎都会用svg图,能否在template里面加入svg的解决方案。
目前项目中暂时用的[vite-plugin-svg-icons](https://github.com/vbenjs/vite-plugin-svg-icons) (不过好像没有维护了,看看有没有更好的解决方案)
-
I use computed meta
```vue
const { organization } = storeToRefs(usePageOrganization());
const computedMeta = computed(() => ({
title: organization.value?.name,
}));
useMeta(computedMeta);
…
-
- tnui版本:1.0.20
```vue
hello
import { onMounted, ref } from 'vue'
const show = ref(false)
//在onMounted外立即设置为true,可以显示
//show.value = true
onMounted(()=>{
//在onMounted中,有时…
-
**What rule do you want to change?**
no-unused-components
**Does this change cause the rule to produce more or fewer warnings?**
more (but for things that cause runtime errors)
**How w…
-
I'm getting:
```
vue.runtime.esm.js?a427:563 [Vue warn]: Failed to mount component: template or render function not defined.
(found in )
```
here's my package.json dependencies:
```json
"d…
-
"ofd.js": "^1.3.38",
"vue": "^3.2.37",
```
import { PropType, reactive, watch, onMounted, nextTick } from 'vue'
import { message } from 'ant-design-vue'
import { parseOfdDocum…
-
Even with SSR disabled, the same error `Objects are not valid as a React child` appears in Nuxt 3 projects using Veaury. Is there a minimal working Nuxt 3 template project available somewhere?
-
Hi everyone,
I followed the instruction on the https://bliblidotcom.github.io/vue-rangedate-picker/
but. code gives me the following error;
> Vue warn]: Unknown custom element: - did you regis…
-
### What problem does this feature solve?
it seems that we must create type for a componet when use `defineExpose` in typescript , and we can get type hint.
```typescript
// src/types/index.ts
…
-
Generic vue types break depending how props are accessed in template.
Lets take component like this, it all works fine:
```vue
export const customFormatter = (num: number) => `${num * 3}!!!`
exp…