2022-02-02
1274
#vue
Oyetoke Tobi
90666
Feb 2, 2022 â‹… 4 min read

Define properties with Vue Property Decorator and TypeScript

Oyetoke Tobi Software engineer passionate about building developers tools and open source contributions.

Recent posts:

A guide to modern frontend architecture patterns

Frontend architecture is the foundation of your frontend codebase. Here’s how to optimize the pattern that you choose.

Shalitha Suranga
Feb 12, 2025 â‹… 9 min read
A Guide To Graceful Degradation In Web Development

A guide to graceful degradation in web development

Implement graceful degradation in frontend apps by handling failures, mitigating API timeouts, and ensuring a seamless UX with fallbacks.

Rosario De Chiara
Feb 11, 2025 â‹… 4 min read
Building High-Performance Websites Using Htmx And Go

Building high-performance websites using htmx and Go

Use htmx and Go to build high-performance websites, leveraging server-side rendering and minimal JavaScript for fast and efficient applications.

Abhinav Anshul
Feb 10, 2025 â‹… 11 min read
improving ux with scroll-select box

How to improve UX with a scroll-select box

The scroll-select box is a great tool for frontend developers to improve the user experience of their applications. Learn how to build a scrollable date picker that mimics the iOS style, but with the exemption of the <select> element.

Emmanuel Odioko
Feb 7, 2025 â‹… 10 min read
View all posts

3 Replies to "Define properties with Vue Property Decorator and TypeScript"

  1. I only got as far as “Creating a TypeScript Vue component” before it all blew up!

    ERROR in src/App.vue:14:2

    TS1238: Unable to resolve signature of class decorator when called as an expression.
    This expression is not callable.
    Type ‘typeof import(“/home/mark/repos/vue-props-example/node_modules/vue-class-component/dist/vue-class-component”)’ has no call signatures.
    12 | import { Component, Vue } from “vue-property-decorator”;
    13 |
    > 14 | @Component

Leave a Reply