Comments (9)
Happy to contribute, can anyone point directions?
Would/Should it need to be added to nuxt-class-component
- and used in here to replace vue-class-component
- as it's nuxt specific?
from nuxt-property-decorator.
pls see https://cmty.app/nuxt/nuxt-class-component/issues/c8
from nuxt-property-decorator.
@hartmut-co-uk Please open a pull request, I will be happy to merge it asap :)
from nuxt-property-decorator.
First need to find a solution :-) will have to wait for the issue raised with nuxt-class-component
to respond I think.
Many thanks for the reply though!
from nuxt-property-decorator.
note - I think this will all be covered/resolved with nuxt/nuxt#4164
from nuxt-property-decorator.
This is resolved with latest v2.1.3
We added
- watchQuery
- key
- loading
from nuxt-property-decorator.
watchQuery
can't work with v2.1.3
I tried it like this:
import { Vue, Component } from 'nuxt-property-decorator';
@Component({
...
})
export default class IndexPage extends Vue {
watchQuery: string[] = ['label', 'page'];
...
So strange, i see other hooks like asyncData
works well, but watchQuery
does nothing when query changes.
from nuxt-property-decorator.
Better late than never: It should be put in the @Component
decorator option parameter, like so:
@Component({
watchQuery: ['label', 'page'],
})
export default class IndexPage extends Vue {
// ...
}
from nuxt-property-decorator.
Better late than never: It should be put in the
@Component
decorator option parameter, like so:@Component({ watchQuery: ['label', 'page'], }) export default class IndexPage extends Vue { // ... }
Thx hahaha
from nuxt-property-decorator.
Related Issues (20)
- Expose PropType from vue
- Pinia - Vuex will stop being updated
- @On decorator not working properly
- The question about hooks HOT 8
- Nuxt Hook not registering HOT 1
- the invoke order of 'head' and 'asyncData' seems not correct HOT 1
- Nuxt-Property-Decorator 3 - Nuxt 3, Vue 3 and Vue Class Component v8 readiness HOT 14
- Access this in head HOT 1
- Cannot read property of undefined
- Getter named as "loading" not acceptable HOT 6
- Cannot access this inside head HOT 2
- Nuxt 3.0 support HOT 1
- Module parse failed: Unexpected character '@' HOT 1
- bug report:The latest version of plugin causes rendering errors HOT 1
- Webstorm showing type error: Cannot resolve symbol 'Prop' HOT 1
- yarn package not found HOT 3
- How i can use computed? HOT 1
- How to make visible the "nuxtServerInit" action for Nuxt.js action in the case with dynamic modules only? HOT 5
- New fetchDelay hook for Nuxt >=2.12
- Function in component options with context
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 nuxt-property-decorator.