Updated links in help messages

This commit is contained in:
Heliozoa 2021-09-05 13:59:13 +03:00
parent 9f68ed7592
commit 9533bc874e
2 changed files with 3 additions and 3 deletions

View File

@ -51,7 +51,7 @@ const example = ' ' + `
${bold(`elm-spa ${cyan(`add`)}`)} ${yellow('/about-us')} ${pink('sandbox')}
${bold(`elm-spa ${cyan(`add`)}`)} ${yellow('/people/:id')} ${pink('element')}
Visit ${green(`https://elm-spa.dev/guide/cli`)} for more details!
Visit ${green(`https://elm-spa.dev/guide/01-cli`)} for more details!
`.trim()
const template404 = (url : string, template : string, suggestions: string[]) => {
@ -65,6 +65,6 @@ const template404 = (url : string, template : string, suggestions: string[]) =>
${bold(`elm-spa`)} couldn't find a ${bold(pink(template))} template
in the ${cyan('.elm-spa/templates')} folder.
${suggestions.length ? suggest : ''}
Visit ${green(`https://elm-spa.dev/guide/cli`)} for more details!
Visit ${green(`https://elm-spa.dev/guide/01-cli`)} for more details!
`.trim()}

View File

@ -98,7 +98,7 @@ const invalidExportsMessage = (entry: PageEntry) => {
` ${dot} module ${moduleName} exposing (${cyan('page')})`,
` ${dot} module ${moduleName} exposing (${cyan('Model')}, ${cyan('Msg')}, ${cyan('page')})`,
``,
`Visit ${colors.green}https://elm-spa.dev/guide/pages${reset} for more details!`
`Visit ${colors.green}https://elm-spa.dev/guide/03-pages${reset} for more details!`
].join('\n')
}