Rob Richardson
Vuejs and TypeScript- Working Together like Peanut Butter and Jelly
#1about 3 minutes
Comparing Vue with other popular SPA frameworks
Vue.js is a SPA framework that prioritizes developer productivity and an easy learning curve compared to Angular and React.
#2about 1 minute
Creating a new Vue project with the Vue CLI
The Vue CLI provides an interactive prompt to scaffold a new project with features like TypeScript, Vue Router, and testing frameworks.
#3about 5 minutes
Understanding the value of TypeScript for code clarity
TypeScript helps answer "did I call it correctly?" by adding optional type hints that prevent common errors and clarify function signatures.
#4about 3 minutes
How to start using TypeScript in a project
Begin using TypeScript by renaming .js files to .ts and adding optional type annotations to functions and variables to express intent.
#5about 3 minutes
Setting up a Vue project with TypeScript enabled
A Vue CLI-generated project includes a tsconfig.json file, and TypeScript is enabled in components by adding lang="ts" to the script tag.
#6about 3 minutes
Integrating the Vuetify UI library with TypeScript
To use a JavaScript library like Vuetify in a TypeScript project, you may need to add its specific type definitions to the project configuration.
#7about 7 minutes
Using type casting for component references
When TypeScript doesn't recognize methods on a component reference, you can cast the reference to a specific type or custom interface for type safety.
#8about 4 minutes
Creating custom type declaration files for JavaScript libraries
For libraries without types, you can create a .d.ts file to manually declare the module and define the functions you use.
#9about 2 minutes
Using DefinitelyTyped for community type definitions
The DefinitelyTyped project provides thousands of community-maintained type declaration packages, installable via npm as @types/package-name.
#10about 5 minutes
Generating declaration files with the TypeScript compiler
The TypeScript compiler (tsc) can automatically generate a basic .d.ts declaration file from a JavaScript file to get you started.
#11about 3 minutes
A prioritized summary of techniques for using JS libraries
A hierarchy of strategies for integrating JavaScript libraries includes using built-in types, DefinitelyTyped, custom declarations, generation, and casting.
#12about 3 minutes
Deciding when to use or avoid TypeScript with Vue
TypeScript is ideal for long-lived projects but may be overkill for prototypes or projects heavily reliant on libraries without type definitions.
Related jobs
Jobs that call for the skills explored in this talk.
Hubert Burda Media
München, Germany
€80-95K
Intermediate
Senior
JavaScript
Node.js
+1
MARKT-PILOT GmbH
Stuttgart, Germany
Remote
€75-90K
Senior
Java
TypeScript
+1
Matching moments
02:33 MIN
Why you might not need JavaScript for everything
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
03:16 MIN
Improving the developer feedback loop with specialized tools
Developer Time Is Valuable - Use the Right Tools - Kilian Valkhof
09:00 MIN
Navigating the growing complexity of modern CSS
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
14:14 MIN
Scripting presentations and demos in VS Code
Devs vs. Marketers, COBOL and Copilot, Make Live Coding Easy and more - The Best of LIVE 2025 - Part 3
08:07 MIN
Exploring modern JavaScript performance and new CSS features
WeAreDevelopers LIVE – AI, Freelancing, Keeping Up with Tech and More
03:31 MIN
The value of progressive enhancement and semantic HTML
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
11:32 MIN
The industry's focus on frameworks over web fundamentals
WeAreDevelopers LIVE – Frontend Inspirations, Web Standards and more
05:28 MIN
The origin story of the Polypane developer browser
Developer Time Is Valuable - Use the Right Tools - Kilian Valkhof
Featured Partners
Related Videos
TDD for Vue.js Developers
Markus Oberlehner
Lies we Tell Ourselves As Developers
Stefan Baumgartner
The Art and Craft of Type Development
Michael Hladky & Stefan Baumgartner
Do TypeScript without TypeScript
Simone Sanfratello
4 Steps from JavaScript to TypeScript
Phil Nash
Advanced Typing in TypeScript
Lars Hupel
Typescript, React and Atomic Design - a match made in heaven
Nathalia Rus
Don't compromise on speedy delivery nor type-safety by choosing TypeScript
Jens Claes
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.

Visonum GmbH
Remote
Junior
Intermediate
React
Redux
TypeScript

Optimus Search
Berlin, Germany
Remote
Intermediate
API
CSS
GIT
React
+4


Multiplied
Roosendaal, Netherlands
Remote
€5K
Intermediate
CSS
SASS
Scrum
+4




Rescue
Senior
API
VoIP
React
Python
Vue.js
+3
