Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature - Add Typescript Support #300

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

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