Create a Vue application with Typescript

Vue and Typescript is a very good combo :)

How to create a Vue.js application with Typescript? This very good article from Logrocket written by Preetish HS is explaining how to do it. But I decided to write a shorter explanation.

Getting started with Vue/Typescript

Initiate with Vue-CLI in terminal:

vue create <your-app-name>

Instead of picking a preset, select:

manual select 

This is my custom config (up to you to change :):

my personal config

Then type:

cd <your-app-name>
npm run serve

Enjoy Typescript :)

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Guillaume Duhan

Guillaume Duhan

Co-founder, Freelance & Content Creator