File tree Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Original file line number Diff line number Diff line change 11module . exports = pkg => {
22 const prompts = [
33 {
4- type : ' confirm' ,
5- name : ' scaffold' ,
6- message : ' Add support for base components?' ,
7- default : false ,
8- description : ' In addition to deleting all pre-built components, it will add lodash and the necessary configuration for supporting base components.' ,
4+ type : " confirm" ,
5+ name : " scaffold" ,
6+ message : " Add support for base components?" ,
7+ default : true ,
8+ description : " In addition to deleting all pre-built components, it will add lodash and the necessary configuration for supporting base components." ,
99 } ,
1010 {
11- type : ' confirm' ,
12- name : ' tailwind' ,
13- message : ' Add support for tailwind?' ,
14- default : false ,
15- description : ' This will install tailwind and add the necessary configuration files.' ,
11+ type : " confirm" ,
12+ name : " tailwind" ,
13+ message : " Add support for tailwind?" ,
14+ default : true ,
15+ description : " This will install tailwind and add the necessary configuration files." ,
1616 }
1717 ]
1818
1919 if ( '@vue/eslint-config-prettier' in ( pkg . devDependencies || { } ) ) {
2020 prompts . push ( {
21- type : ' confirm' ,
22- name : ' prettier' ,
23- message : ' Add prettier configuration?' ,
24- when : true ,
25- description : ' This will add a prettier configuration file and add a vue/plugin-recommended plugin to your eslint configuration file.' ,
21+ type : " confirm" ,
22+ name : " prettier" ,
23+ message : " Add prettier configuration?" ,
24+ default : true ,
25+ description : " This will add a prettier configuration file and add a vue/plugin-recommended plugin to your eslint configuration file." ,
2626 } ) ;
2727 }
2828
You can’t perform that action at this time.
0 commit comments