Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
1 vote
0 answers
49 views

I have Vue Single File Component on my page under <discussion-filter></discussion-filter> tag in discussion.blade.php which renders from Laravel controller this way return View::make('...
Kostya Bronshteyn's user avatar
3 votes
0 answers
189 views

I am using Vue.js 3 with single-file components, <script setup> and TypeScript. I would like TypeScript to report when I use an unknown component, an unknown directive or an unknown prop. It ...
cdauth's user avatar
  • 7,979
0 votes
1 answer
68 views

I'm trying to use TypeScript in my project. If I change a .js file to a .ts file it works. But when I add the lang="ts" attribute in a Vue component (SFC), I get the following error message: ...
CfC's user avatar
  • 53
1 vote
1 answer
483 views

I have a project set up that uses rspack with VueJS 3 and I would like to be able to use CSS modules within the single file components. However I am unable to get this to work and I don't understand ...
tribute2ro's user avatar
1 vote
1 answer
44 views

Using a Single File Component, how can the element be accessed during a colon prefixed conditional evaluation like :class I tried doing: <RouterLink to="/post-container" :class="{'...
Luxerion's user avatar
0 votes
1 answer
83 views

I am creating a vue.js3 SFC application where the list component is used multiple times. The aim is to produse a separate lists of items in each component from SingleList.vue. I wanted to use a v-for='...
Anna's user avatar
  • 15
0 votes
1 answer
215 views

I am trying to pass a prop between sibling elements (a card and an input) and so far it has not been successful. I have a button nested within a card element. When someone is pressing a button, I emit ...
Anna's user avatar
  • 15
0 votes
1 answer
74 views

When I use a prop in SFC the prop shows empty, or as you prefer it does not show. I have an ActionButton.vue file: <script setup> defineProps({ actionButtonOne: { type: String } }...
Anna's user avatar
  • 15
3 votes
1 answer
1k views

I am writing a VueJs app, using typescript, and have mostly switched to Vue's new script setup syntax for my single file compontents (SFC). I don't know how to write comments that properly show up in ...
Marcel's user avatar
  • 15.8k
0 votes
0 answers
144 views

I have an App component, which is a parent component. And two child components, GenreList and GameGrid components. I want to fetch games according to genreId so I'm emitting genreId from GenreList to ...
godisgay's user avatar
0 votes
0 answers
979 views

I'm creating an application in Vue.js 3 + Pinia. I created an action that call - async function with await on axios call - an API to fill the whole store for a page, but don't work. Are there any ...
Deal With It's user avatar
5 votes
0 answers
381 views

Without relying on a third party package, what is the "correct" way to document my Vue 3 Single-File Components using the Composition API in a way that allows an IDE (in my case JetBrains' ...
KaptajnKold's user avatar
1 vote
1 answer
484 views

I am using vue3-sfc-loader (https://github.com/FranckFreiburger/vue3-sfc-loader) to register and load .vue components that works fine: sample 1 <div id="app"> <ae-studio></...
Mohsen Mirshahreza's user avatar
0 votes
1 answer
1k views

I have a Vue component. He will show a text array circularly. In the text, some string has a special style. I can use the v-html attribute. Is there a better way? <script setup> import { ref } ...
JackFan's user avatar
  • 39
1 vote
2 answers
438 views

Environment "@strapi/strapi": "4.12.0", "nuxt": "^3.6.5", Current situation In my development environment, I have a projects page with a category filter that ...
BrianR.'s user avatar
  • 338

15 30 50 per page
1
2 3 4 5 6