Automating create-next-app
Unanswered
Cape lion posted this in #help-forum
Cape lionOP
So I want to write a python script to automate the startup of a nextjs app with specific features already developed such as specific pages from a list, adding redux toolkit, stuff like that. The problem is the interactive questions I get asked after running npx create-next-app. Is there a way to shortcode my answers so I can just store it as a bash command instead of needing to interact with the questions? For example I like using tailwind and js along with the app router.
2 Replies
create-next-app has non-interactive mode that you can use