Skip to content

Commit

Permalink
Merge pull request #109 from Heliozoa/main
Browse files Browse the repository at this point in the history
Updated links in help messages
  • Loading branch information
ryan-haskell authored Sep 6, 2021
2 parents 9f68ed7 + 9533bc8 commit 50e6c9d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/cli/src/cli/add.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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[]) => {
Expand All @@ -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()}
2 changes: 1 addition & 1 deletion src/cli/src/cli/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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')
}

Expand Down

0 comments on commit 50e6c9d

Please sign in to comment.