~/talk

Creating a Vue js project with TypeScript

Talkat VueConf Toronto 2021 · 2021-11-22..11-23· [vue, typescript]
links:none on file
slides:none on file

Creates a Vue project with TypeScript using vue create, VS Code and npm scripts, then builds a small app that returns an Array<Dog> from getGoodDogs and wires it into a .vue component with lang="ts". Shows using interface Dog to enforce name:string and age:number, using a generic return type, and running tsc via npm run tsbuild. Notes the generated shim and highlights tsconfig flag noImplicitAny and the .vue lang="ts" setup.

AI-written summary · about

  1. 0:00Introduction
  2. 1:15JavaScript limitations
  3. 4:37What is TypeScript?
  4. 8:10Creating a Vue project
  5. 10:38Data challenges
  6. 12:50Using interfaces
  7. 17:33Vue and TypeScript
  8. 22:54Q&A and closing
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.