timlrx.com icon indicating copy to clipboard operation
timlrx.com copied to clipboard

Add `Setup` script

Open ahmedsomaa opened this issue 2 years ago • 0 comments

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.

ahmedsomaa avatar Feb 03 '24 23:02 ahmedsomaa