Skip to content

Commit bc758b9

Browse files
committed
fix(create-app): prompts
1 parent 2dec7dc commit bc758b9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/.vitepress/theme/components/demo/Demo.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup lang="ts">
2-
import { ref, onMounted, watch, shallowRef, computed } from 'vue'
2+
import { ref, onMounted, watch } from 'vue'
33
// @ts-ignore
44
import TypeIt from 'typeit'
55
import Markdown from 'markdown-it'

packages/create-app/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ async function init() {
2929
* @type {{ projectName: string }}
3030
*/
3131
const { projectName } = await prompts({
32-
type: 'input',
32+
type: 'text',
3333
name: 'projectName',
3434
message: 'Project name:',
3535
initial: 'slidev',

packages/create-theme/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ async function init() {
2828
* @type {{ name: string }}
2929
*/
3030
const { name } = await prompts({
31-
type: 'input',
31+
type: 'text',
3232
name: 'name',
3333
message: 'Theme name:',
3434
initial: 'slidev-theme-starter',

0 commit comments

Comments
 (0)