Skip to content

Commit 9c86a62

Browse files
committed
Minor fix.
1 parent 43983d0 commit 9c86a62

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

prompts.js

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
module.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

0 commit comments

Comments
 (0)