Merge pull request #89 from ssanj/patch-1

Fix another broken link
This commit is contained in:
Ryan Haskell-Glatz 2021-05-28 15:07:45 -05:00 committed by GitHub
commit 793e514b7a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
# Storage
__Source code__: [GitHub](https://github.com/ryannhg/elm-spa/tree/main/examples/03-storage)
__Source code__: [GitHub](https://github.com/ryannhg/elm-spa/tree/main/examples/03-local-storage)
Let's start by creating a new project with the __elm-spa__ CLI:
@ -256,7 +256,7 @@ That's it for this file- now we're ready to use our `Storage` module in our app!
### Wiring up the shared state
Let's eject `Shared.elm` by moving it from `.elm-spa/defaults` into our `src` folder. This will allow us to make local changes to it, as explained in the [shared state section](/guides/05-shared-state) of the guide.
Let's eject `Shared.elm` by moving it from `.elm-spa/defaults` into our `src` folder. This will allow us to make local changes to it, as explained in the [shared state section](/guide/05-shared-state) of the guide.
Our first step is to add `Storage` to our `Shared.Model`, so we can access `storage` from _any_ page in our application: