mirror of
https://github.com/ryan-haskell/elm-spa.git
synced 2024-11-22 03:12:01 +03:00
Merge pull request #109 from Heliozoa/main
Updated links in help messages
This commit is contained in:
commit
50e6c9d372
@ -51,7 +51,7 @@ const example = ' ' + `
|
|||||||
${bold(`elm-spa ${cyan(`add`)}`)} ${yellow('/about-us')} ${pink('sandbox')}
|
${bold(`elm-spa ${cyan(`add`)}`)} ${yellow('/about-us')} ${pink('sandbox')}
|
||||||
${bold(`elm-spa ${cyan(`add`)}`)} ${yellow('/people/:id')} ${pink('element')}
|
${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()
|
`.trim()
|
||||||
|
|
||||||
const template404 = (url : string, template : string, suggestions: string[]) => {
|
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
|
${bold(`elm-spa`)} couldn't find a ${bold(pink(template))} template
|
||||||
in the ${cyan('.elm-spa/templates')} folder.
|
in the ${cyan('.elm-spa/templates')} folder.
|
||||||
${suggestions.length ? suggest : ''}
|
${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()}
|
`.trim()}
|
@ -98,7 +98,7 @@ const invalidExportsMessage = (entry: PageEntry) => {
|
|||||||
` ${dot} module ${moduleName} exposing (${cyan('page')})`,
|
` ${dot} module ${moduleName} exposing (${cyan('page')})`,
|
||||||
` ${dot} module ${moduleName} exposing (${cyan('Model')}, ${cyan('Msg')}, ${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')
|
].join('\n')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user