You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's kind of a pain to edit the router manually to add a new article or slideshow.
Potential solutions:
move article metadata (path and document title) to the articles themselves, have a build script to produce routes
read the structure of the articles folder, and generate routes based on that.
Both of these solutions will require a modification to the build pipeline, which is currently managed by create-react-app. In order to implement this, we will probably have to npm run eject.
The text was updated successfully, but these errors were encountered:
It's kind of a pain to edit the router manually to add a new article or slideshow.
Potential solutions:
Both of these solutions will require a modification to the build pipeline, which is currently managed by create-react-app. In order to implement this, we will probably have to
npm run eject
.The text was updated successfully, but these errors were encountered: