mirror of
https://github.com/strapi/strapi.git
synced 2025-09-03 13:50:38 +00:00
disable template question
This commit is contained in:
parent
a742f19e16
commit
03110962d6
@ -60,7 +60,8 @@ async function getTemplateQuestion() {
|
|||||||
*
|
*
|
||||||
* @returns Array of prompt question objects
|
* @returns Array of prompt question objects
|
||||||
*/
|
*/
|
||||||
async function getPromptQuestions(projectName, template) {
|
// TODO: re-enabled once the template have been migrated to V4
|
||||||
|
async function getPromptQuestions(projectName /*, template */) {
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
type: 'input',
|
type: 'input',
|
||||||
@ -84,13 +85,14 @@ async function getPromptQuestions(projectName, template) {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
// TODO: re-enabled once the template have been migrated to V4
|
||||||
type: 'confirm',
|
// {
|
||||||
name: 'useTemplate',
|
// type: 'confirm',
|
||||||
when: !template,
|
// name: 'useTemplate',
|
||||||
message:
|
// when: !template,
|
||||||
'Would you like to use a template? (Templates are Strapi configurations designed for a specific use case)',
|
// message:
|
||||||
},
|
// 'Would you like to use a template? (Templates are Strapi configurations designed for a specific use case)',
|
||||||
|
// },
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user