Skip to content

This repo demonstrates how to serve dynamic metatags server side with Node and Create React app.

Notifications You must be signed in to change notification settings

justswim/cra-metatag-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo of adding dynamic metadata tags server side with Create React App

To try the demo, first clone this repo.

git clone https://github.com/justswim/cra-metatag-demo.git
cd cra-metatag-demo
npm install
npm run build
node server.js

Then visit localhost:5000 in the browser. Try it in an incognito window if it is not working for you in your normal browser.

You will be able to see the server render each route, and also if you view source, you will see the metatags dynamically generated by the server.

See the associated blog post here: https://www.kapwing.com/blog/how-to-add-dynamic-meta-tags-server-side-with-create-react-app/

About

This repo demonstrates how to serve dynamic metatags server side with Node and Create React app.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published