Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Small updates for the add page walkthrough #1089

Merged
merged 1 commit into from
Sep 6, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/walkthrough/addNewPage.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ The following is for creating a new page called "**basicPage**."
```js
export * from './basicPage/basicPage.container';
```
1. (Optional) Add an SVG icon for the new page. See [utilities/README.md](../utilities/README.md) for more information.
1. (Optional) Add an SVG icon for the new page. See [utilities/README.md](/src/utilities/README.md) for more information.
- Note that existing SVGs can be used as well.
1. Add the page name to the translations file, [translations.json](../../public/locales/en/translations.json). [i18next][i18next] is used for internationalization.
```json
"tabs": {
"template": "Example",
},
```
1. Open the top level application page, [walkthrough/components/app.js](/src/walkthrough/components/app.js).
1. Open the top level application page. For the walkthrough sample code: [walkthrough/components/app.js](/src/walkthrough/components/app.js). For the normal applicaiton: [components/app.js](/src/components/app.js)
1. Add the new page to the imports.
```javascript
// Page Components
Expand Down