I am looking to create a template for building a frontend system that you could type for example npx create-frontend-site then you are asked questions than then based on the answers provided it will configure and download the required packages etc. I am wanting to know how to do this. Thank you for any assistance provided
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (5)
step 1:first install NodeJS if you didn't install yet
step2 : to create a project, run:
npx create-react-app my-app
cd my-app
npm start
here in this page is good example
reactjs.org/docs/create-a-new-reac...
Develop a Node.js-based CLI tool using Commander.js for command handling, Inquirer.js for interactive prompts, and programmatically manage file templating and dependency installations based on user input, then publish the package on npm for execution via npx.
Check my post for various ways you can achieve that.
dev.to/hanzla-baig/the-ultimate-an...
Amazing .