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