Thorsten Lünborg
Thorsten Lünborg
is webpack present in the npm_modules directory?
Node & npm version?
I like the idea, nice work! One thing I'm concerned about (but not qualified to answer) is how this complicates typings for Typescript.
We don't have a concept of a forward ref as React has (hope I don't mix up terminology here), which is basically what you propose here: A way to pass...
Adding a class is just a trivial example and not the point. The point is that sometimes, a parent might need to get a hold of an element that belongs...
Sure but again: it's just an example and not the point of the functionality we are discussing.
I'm with @aztalbot I think. We can provide functions to provide the router as well as inject it in components where needed: ```js import { provideRouter, useRouter } from 'vue-router'...
Alternatively to 1., we could have the router object expose the "hook": ```js import router from './router' new Vue({ setup() { router.use() } }) ```
> This will "break" every existing plugin I think, since you cannot access "this.$plugin" directly anymore. It will only "break" insofar as as plugins that don't yet provide function for...
@phiter Well, Vue 3 will have a plugin API as well. Following the proposal #29, mounting an app will work a wee bit differently, but we still have a `.use()`...