Add a setup script in the package.json to replace author's info, blogs...etc... with template files. This way whenever anyone uses the template for creating a blog or personal website, they can install the dependencies, run the script setup and your data would be replaced with a fresh copy of your starter template. I came across this in Lee Rob's portfolio code on GitHub here.
Check the package.json & the setup.mjs file.
Add a
setupscript in thepackage.jsonto replace author's info, blogs...etc... with template files. This way whenever anyone uses the template for creating a blog or personal website, they can install the dependencies, run the scriptsetupand your data would be replaced with a fresh copy of your starter template. I came across this in Lee Rob's portfolio code on GitHub here.Check the
package.json& thesetup.mjsfile.