Natalia Tepluhina 51e63cf7ae feat(typescript): add convertJsToTs and allowJs options (#4212)
Close #2676

At the moment when we run `vue add`, Vue CLI renames all `*.js` files to `*.ts`. This PR introduces two new prompts on `@vue/cli-plugin-typescript` late-invokation:

1. `convertJsToTs`: if set to `true`, renames all `.js` files to `.ts`. Otherwise renames only `main.js` -> `main.ts`;
2. `allowJs`: if set to `true`, adds `allowJs: true` to TSConfig compiler options.

(cherry picked from commit 38debb4d14)
2019-07-03 16:13:52 +08:00
2018-07-13 10:56:22 -04:00
2019-06-15 14:23:29 +08:00
2019-06-15 14:23:29 +08:00
2018-01-06 13:04:43 -05:00
2019-04-11 14:49:12 +08:00
2019-05-25 22:46:12 +08:00

vue-cli Build Status Windows Build status lerna

Vue CLI is the Standard Tooling for Vue.js Development.

Documentation

Docs are available at https://cli.vuejs.org/ - we are still working on refining it and contributions are welcome!

Contributing

Please see contributing guide.

License

MIT

Description
🛠️ webpack-based tooling for Vue.js Development
Readme MIT 45 MiB
Languages
JavaScript 75%
Vue 22.9%
TypeScript 0.9%
Stylus 0.5%
HTML 0.3%
Other 0.4%