Skip to content

Conversation

@MarjanDB
Copy link
Contributor

This adds support for Typescript.

Basic usage for Vue 2: https://v2.vuejs.org/v2/guide/typescript.html#Basic-Usage

I left "allowJs" enabled so that everything will continue to work as is.
The chainWebpack aliases in vue.config.js might have to be ported over to tsconfig inside the paths property, though I think that might only be required for plain typescript files and not Vue components (honestly don't know).

I converted ColorUtil.js to typescript for testing.
I also had to do some minor code fixes because there were errors present in them.

Build passes with this setup and I was able to confirm that the build also works after some quick testing on my end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant