Skip to content

Commit

Permalink
fix(create-app): prompts
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed May 1, 2021
1 parent 2dec7dc commit bc758b9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/.vitepress/theme/components/demo/Demo.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script setup lang="ts">
import { ref, onMounted, watch, shallowRef, computed } from 'vue'
import { ref, onMounted, watch } from 'vue'
// @ts-ignore
import TypeIt from 'typeit'
import Markdown from 'markdown-it'
Expand Down
2 changes: 1 addition & 1 deletion packages/create-app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ async function init() {
* @type {{ projectName: string }}
*/
const { projectName } = await prompts({
type: 'input',
type: 'text',
name: 'projectName',
message: 'Project name:',
initial: 'slidev',
Expand Down
2 changes: 1 addition & 1 deletion packages/create-theme/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ async function init() {
* @type {{ name: string }}
*/
const { name } = await prompts({
type: 'input',
type: 'text',
name: 'name',
message: 'Theme name:',
initial: 'slidev-theme-starter',
Expand Down

0 comments on commit bc758b9

Please sign in to comment.