11import { fileURLToPath } from 'node:url'
2- import { $ , chalk , fs , glob , path } from 'zx'
32import { select } from '@inquirer/prompts'
4- import { rewriteConfig } from '../init/index '
3+ import { $ , chalk , fs , glob , path } from 'zx '
54import { camelize } from '../common'
5+ import { rewriteConfig } from '../init/index'
66
77async function toSetupSFC ( target : string ) {
88 const extname = path . extname ( target )
@@ -18,7 +18,7 @@ async function toSetupSFC(target: string) {
1818export async function sg ( target : string ) {
1919 let macro = await select ( {
2020 message : chalk . green (
21- `Which vue macro do you want to use?` ,
21+ `Which vue macro do you want to use?` ,
2222 ) ,
2323 choices : [
2424 { value : 'jsx-directive' } ,
@@ -31,7 +31,7 @@ export async function sg(target: string) {
3131 if ( macro === 'jsx-directive' ) {
3232 macro = await select ( {
3333 message : chalk . green (
34- `Which render macro do you want to use?` ,
34+ `Which render macro do you want to use?` ,
3535 ) ,
3636 choices : [
3737 { value : 'define-render' } ,
@@ -43,7 +43,7 @@ export async function sg(target: string) {
4343 if ( macro === 'short-vmodel' ) {
4444 macro = await select ( {
4545 message : chalk . green (
46- `Which prefix do you want to use?` ,
46+ `Which prefix do you want to use?` ,
4747 ) ,
4848 choices : [
4949 { name : '$' , value : 'short-vmodel 0' , description : '$foo="foo"' } ,
0 commit comments