这是indexloc提供的服务,不要输入任何密码
Skip to content

Add Setup script  #44

@ahmedsomaa

Description

@ahmedsomaa

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions