wagerfield / nuxt-typescript

TypeScript module for Nuxt
MIT License
90 stars 11 forks source link

Reverse isn't working #10

Open pkej opened 6 years ago

pkej commented 6 years ago

Hi, I've added nuxt-typescript to a nuxt-edge project built upon a vue cli 3 project. I then added the nuxt-typescript examples (because I had problems with something else) and found that the reverse isn't called when I edit the input field.

This works fine if I run the example by itself, with nuxt, as well as with nuxt-edge (usingts-loader >4 and removing some other examples that generated errors), so I guess it is something messing up when running vue-cli with typescript option.

My code.

wagerfield commented 6 years ago

This package currently only supports nuxt@1.x. I have not got around to creating a version that is compatible with nuxt@2.x which uses webpack@4.x and subsequently ts-loader@4.x.

There is another issue already open for nuxt-edge support ...but I would rather get this version solidified with the outstanding issues with Nuxt 1.x before tackling Nuxt 2.x.

When Nuxt 2 is released as the latest stable version, I will of course update nuxt-typescript to work with webpack 4 and ts-loader 4 as a matter of priority. I heard rumours that this was happening this month, so it shouldn't be too long now.

pkej commented 6 years ago

Ok, thanks. I guess it is just some configuration differences. Because using your example and building on it (with nuxt-edge etc) it works very well. The problem is wishing to be at the bleeding edge of everything ;)

wagerfield commented 5 years ago

@pkej I will be updating this module over the coming days to support Nuxt 2.0. Will keep you updated when I do so 🎉