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

Flow support #1810

Closed
wujekbogdan opened this issue Jul 11, 2018 · 5 comments
Closed

Flow support #1810

wujekbogdan opened this issue Jul 11, 2018 · 5 comments

Comments

@wujekbogdan
Copy link

What problem does this feature solve?

Adding flow, for less advanced developers, might be tricky. There are several things to do: install npm dependencies, configure babel, configure ESlint (optional).

What does the proposed API look like?

Flow should be available on the features selection step. It should be available only when TypeScript is disabled (and the opposite: TypeScript should be disabled when Flow is enabled).

@andreydos
Copy link

Not a bad idea...

@Akryum
Copy link
Member

Akryum commented Jul 11, 2018

Maybe in the next version, let's release 3.0.0 first! 😸

@LinusBorg
Copy link
Member

LinusBorg commented Jul 13, 2018

I'm no sure if we should even maintain both type systems in cli core.

While we actually use flow in the vue core and router repositories at the moment, we are in the process of switching over to typescript more and more (Vue 3 will be rewritten in TS, amongst other things), and I think our team's kowledge of typescript is much deeper that for flow with people such as @ktsn on board.

So I would even be inclined to say this should be provided by the community, and we focus on the type system that we "build" on in the future.

@haoqunjiang
Copy link
Member

haoqunjiang commented Jul 13, 2018

And I don't think it's a valid use case, as few "less advanced developers" would choose flow for their Vue projects...

@yyx990803
Copy link
Member

We will not do this in core. Our typing focus will be on TS.

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

No branches or pull requests

6 participants