Home

Issue: 121

typescript support

[issue link]

I installed ts-loader into my nuxt.js app like so:
npm install ts-loader typescript

Then I tell vue-loader to use ts-loader for the script part:
<script lang="ts">

What I get is an error message:
error TS18002: The 'files' list in config file 'tsconfig.json' is empty.
or
error TS18003: No inputs were found in config file 'tsconfig.json'. Specified 'include' paths were '["**/*"]' and 'exclude' paths were '["node_modules","bower _components","jspm_packages"]'.
if I create the tsconfig.json file.

How can I configure typescript inside .vue files?

This feature request is available on Nuxt.js community (#c97)