Comments (3)
@Jnig Hi,
Thanks for submitting the issue. I can see the problem here, as these are dynamically created. Though it might be possible to write interface for default methods, I'm not sure about the best approach to write an interface for everything. If you have any ideas how to make TS happy, you're welcome to comment or create a pull request.
The only solution that comes to mind is to write:
declare module 'vue/types/vue' {
interface Vue {
$toast: any
}
}
Can you please try to modify index.d.ts in the package directory and check if this approach will solve your problem?
from vuetify-toast-snackbar.
thanks for the fix!! 👍
from vuetify-toast-snackbar.
app.js:142552 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
(found in )
from vuetify-toast-snackbar.
Related Issues (20)
- OnClick Handler HOT 3
- Remove snackbar element from DOM when closed HOT 8
- Missing method for close all "$toasts" HOT 1
- VSnackbar component not found when using Vue Cli 3.0 HOT 3
- Using Nuxt.js production build, snackbar isn't shown HOT 16
- [Feature Request] Option to add custom attributes
- toast-snackbar not work with nuxt build HOT 6
- Cannot get snackbar to show - Unknown custom element HOT 2
- Position toast within dialog
- Remove alert role from root element.
- There is no 'plugins/vuetify.js' in nuxt HOT 2
- [Vue Warn] - Error in render HOT 31
- Does not work with Vuetify 2+ HOT 1
- The root SNACK node DOM is not removed after snackBar is closed
- Demo is not working HOT 3
- nuxtjs打包后无法正常显示,将变成一段文字
- Upgrading the vuetify library results in style exception
- abnormal style ? HOT 1
- Démo is not working HOT 1
- app prop for Snackbar HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vuetify-toast-snackbar.