chore: enable tw prefix during init

This commit is contained in:
zernonia 2024-06-18 10:49:13 +08:00
parent 511ae6a62e
commit f7a8121fa3

View File

@ -163,14 +163,14 @@ export async function promptForConfig(
active: 'yes',
inactive: 'no',
},
// {
// type: 'text',
// name: 'tailwindPrefix',
// message: `Are you using a custom ${highlight(
// 'tailwind prefix eg. tw-',
// )}? (Leave blank if not)`,
// initial: '',
// },
{
type: 'text',
name: 'tailwindPrefix',
message: `Are you using a custom ${highlight(
'tailwind prefix eg. tw-',
)}? (Leave blank if not)`,
initial: '',
},
{
type: 'text',
name: 'tailwindConfig',
@ -208,7 +208,7 @@ export async function promptForConfig(
css: options.tailwindCss,
baseColor: options.tailwindBaseColor,
cssVariables: options.tailwindCssVariables,
// prefix: options.tailwindPrefix,
prefix: options.tailwindPrefix,
},
aliases: {
utils: options.utils,