-
Notifications
You must be signed in to change notification settings - Fork 685
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into pwa-1074-storybook-again-again-again
- Loading branch information
Showing
19 changed files
with
74 additions
and
79 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,63 +1,45 @@ | ||
title: Tutorials | ||
|
||
entries: | ||
- label: Overview | ||
- label: Getting Started | ||
url: /tutorials/ | ||
entries: | ||
|
||
- label: Setup your project | ||
url: /tutorials/pwa-studio-fundamentals/project-setup/ | ||
|
||
- label: Magento Cloud deployment | ||
url: /tutorials/cloud-deploy/ | ||
- label: Explore the project structure | ||
url: /tutorials/pwa-studio-fundamentals/project-structure/ | ||
|
||
- label: Hello UPWARD | ||
- label: Basic modifications | ||
entries: | ||
- label: Creating a simple server | ||
url: /tutorials/hello-upward/simple-server/ | ||
|
||
- label: Using the TemplateResolver | ||
url: /tutorials/hello-upward/using-template-resolver/ | ||
- label: Enable SASS or LESS support | ||
url: /tutorials/enable-sass-less-support/ | ||
|
||
- label: Adding React | ||
url: /tutorials/hello-upward/adding-react/ | ||
- label: Add a static route | ||
url: /tutorials/pwa-studio-fundamentals/add-a-static-route/ | ||
|
||
- label: Create a TagList component | ||
url: /tutorials/create-taglist-component/ | ||
- label: Modify the site footer | ||
url: /tutorials/pwa-studio-fundamentals/modify-site-footer/ | ||
|
||
- label: Enable SASS or LESS support | ||
url: /tutorials/enable-sass-less-support/ | ||
- label: Create a TagList component | ||
url: /tutorials/create-taglist-component/ | ||
|
||
- label: Intercept a Target | ||
- label: Target interception | ||
url: /tutorials/intercept-a-target/ | ||
entries: | ||
|
||
- label: Modify talon results | ||
url: /tutorials/intercept-a-target/modify-talon-results/ | ||
|
||
- label: Add a new environment variable | ||
url: /tutorials/intercept-a-target/add-new-environment-variable/ | ||
|
||
- label: PWA Studio fundamentals | ||
url: /tutorials/pwa-studio-fundamentals/ | ||
- label: Production deployments | ||
url: /tutorials/pwa-studio-fundamentals/production-launch-checklist/ | ||
entries: | ||
- label: Project setup | ||
url: /tutorials/pwa-studio-fundamentals/project-setup/ | ||
|
||
- label: Project structure | ||
url: /tutorials/pwa-studio-fundamentals/project-structure/ | ||
|
||
- label: Add a static route | ||
url: /tutorials/pwa-studio-fundamentals/add-a-static-route/ | ||
|
||
- label: Modify the site footer | ||
url: /tutorials/pwa-studio-fundamentals/modify-site-footer/ | ||
|
||
- label: Using component props | ||
url: /tutorials/pwa-studio-fundamentals/using-component-props/ | ||
|
||
- label: CSS modules | ||
url: /tutorials/pwa-studio-fundamentals/css-modules/ | ||
|
||
- label: Manage state | ||
url: /tutorials/pwa-studio-fundamentals/manage-state/ | ||
|
||
- label: Work with GraphQL | ||
url: /tutorials/pwa-studio-fundamentals/work-with-graphql/ | ||
- label: Deploy to Magento Cloud | ||
url: /tutorials/cloud-deploy/ | ||
|
||
- label: Production launch checklist | ||
url: /tutorials/pwa-studio-fundamentals/production-launch-checklist/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,32 @@ | ||
--- | ||
title: Tutorials | ||
title: Getting started | ||
--- | ||
|
||
This section contains links to tutorials that will help you become familiar with the different tools provided by PWA Studio. | ||
PWA Studio is a library of tools and packages designed to help you create a Magento PWA storefront. | ||
In this section you will learn how to set up your storefront project using the scaffolding tool and learn about the different files and folders in your project. | ||
|
||
## Recommended tutorials | ||
## Prerequisites | ||
|
||
### UPWARD | ||
- A basic understanding of working with [React][] | ||
- Node >= 10.14.1 | ||
- Yarn (recommended) or NPM | ||
|
||
This three part tutorial provides an introduction to the concepts introduced in the UPWARD spec. | ||
By the end of this tutorial, you should have a simple React application running on top of an UPWARD server. | ||
### Node 12 deprecation warning | ||
|
||
1. [Creating a simple UPWARD server][] - Teaches the very basics of reading and writing an UPWARD specification file for your projects | ||
2. [Using the TemplateResolver][] - Introduces the concept of using templates and the TemplateResolver to keep your UPWARD specification file lean | ||
3. [Adding React][] - Add React and Webpack into your UPWARD project | ||
If you are using Node 12, you may see the following deprecation warning in the log when you run `yarn watch:venia`. | ||
|
||
### Magento Cloud deployment | ||
```sh | ||
(node:89176) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated | ||
``` | ||
|
||
[Magento Cloud deployment][] - Provides steps for deploying a PWA Studio storefront into the Magento Cloud. | ||
This tutorial uses the Venia example storefront to illustrate the general process. | ||
This is caused by a project dependency used by PWA Studio and not by PWA Studio itself. | ||
|
||
[creating a simple upward server]: <{%link tutorials/hello-upward/simple-server/index.md%}> | ||
[using the templateresolver]: <{%link tutorials/hello-upward/using-template-resolver/index.md%}> | ||
[adding react]: <{%link tutorials/hello-upward/adding-react/index.md%}> | ||
[magento cloud deployment]: <{%link tutorials/cloud-deploy/index.md %}> | ||
## First steps | ||
|
||
- [Setup your project][] | ||
- [Explore the project structure][] | ||
|
||
[setup your project]: <{%link tutorials/pwa-studio-fundamentals/project-setup/index.md %}> | ||
[explore the project structure]: <{%link tutorials/pwa-studio-fundamentals/project-structure/index.md %}> | ||
|
||
[react]: https://reactjs.org/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters