I am using vue3-sfc-loader. I can get it working, but I am unable to use other components (also loaded from the same plugin) inside of a component. I have gone through documentation and searched whole day, but I am not able to figure out what am I missing.
how to import and use other components in a component loaded from vue3-sfc-loader?
2.4k Views Asked by Tariq Abdullah At
1
There are 1 best solutions below
Related Questions in VUE.JS
- Problems with matter.js and i18n in vue.js
- Form Validation not working in custom component Vue
- Authenticating vue app on each route change
- Vue/TailwindCSS - Content is behind Sidebar
- Vue3 Suspense Parent > Child Animation
- Pass dynamic object data via nuxt-link to component
- Failed to resolve import, but the path is valid, and detected as such by VSCode
- how to use less variables in vue components?
- Prevent a webpage from navigating away
- Creating a modal window in product edit page in Shopware6 and saving data to custom table(repository) from a form within the modal window
- How do I fix (or ignore) a TypeScript error that's inside a HTML template?
- Vue.js Checkbox Alignment Issue: Centering Checkboxes Within Table Cells
- How to reset vue product filter?
- Vue display output of two dimensional array
- vue js error when adding bonus items to another item
Related Questions in VUE-COMPONENT
- tsParticles onHover not working on my Vue Project
- How to dynamically switch between two images onclick in Vue.js
- How can i display elements?
- How to toggle a v-if
- Problems in Validations via Web Service in a Vue 3 Application
- vuetify data-table-server binding paging properties
- I need to send an id from read component to update component. The id must be obtained by function updateItem(). But id is not sent to the child pag
- Vuejs child component props does not update when parent component update props value
- Handling a this.$router.replace(href); in vue 2
- diferrence between new vue & vue.createapp
- Is it possible to return a value from the $emit?
- Passing object with reactive properties as a prop triggers child component onUpdated hook when updating parent component state
- Dynamic image loading to not work in Vue project!! On no dynamic everything loads correct
- Error Element Plus Dynamic Tab component in Vue 3
- vue-hotel-datepicker is not working for PST — Pacific Standard Time
Related Questions in VUEJS3
- Problems with matter.js and i18n in vue.js
- Vue3 Suspense Parent > Child Animation
- Problem sending HTTP post request from VUE to ASP.NET Core MVC project
- How to import a local image in vuex store without using axios
- Vue TransitionGroup not working properly because of css transition
- tsParticles onHover not working on my Vue Project
- Vue.js Event Emitted in Child Component Not Detected by Parent Component
- Resource URI is recognised but page wont load and browser throws 404, route:list says the route exist
- vue 3 phaser and spine.js - Uncaught TypeError: Cannot read properties of undefined (reading 'data')
- Inertia/Vue: keep getting props undefined error
- How to make source dynamic for vue-i18n
- How do I dynamically handle endless nested routes with Nuxt 3?
- Vue 3 router changing <routing-view/> but not URL
- Creating base pinia action that can be mixed-in to several stores with typescript
- Vue.js - define v-model with defineProps and defineModel
Related Questions in VUE3-SFC-LOADER
- Dynamically adding new .vue component
- How to use vue3-sfc-loader with scss
- loadModule import breaks in production build in Vite + Vue3 + TS
- Problems with scoped styles and deep styling in vue 3
- how to import and use other components in a component loaded from vue3-sfc-loader?
- Method return Type cannot use *this*
- Vue 3 loading CSS in the shadow dom of nested components
- Error: use* functions may only be called during the `setup()` or other lifecycle hooks
- How do I use PrimeVue in CustomElements?
- Vue 3.2 / Watcher for Prop not working in SFC + Script Setup
- compile Vue 3 component for HMR
- Compiling *.vue file to *.js file for using in cdn
- How to define optional data in Vue 3 Typescript
- Vue 3 local component library (sfc) development not working due to Plugins not reloading
- Add Vue Sfc to existing project
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I found the answer. Answering for anyone needing it.
You can use import statement with relative path to your another component inside script tag of your SFC.
Also, you need to include the component in list of components you want to use.
Although someone in discussions on githhub mentions that you can use import statements.. it doesn't work.