a little batch script for making templates for the HTML + CSS + JS setup, extended to create templates for react apps as well (with IIFE and dark mode to speed things up)
This version automates creating a basic frontend web project structure using a batch script (jsApp.bat). It generates a template and opens the main files in VS Code.
cd C:\Windows\System32
mklink jsApp.bat "C:\Users\%AppData%\Roaming\Code\User\batch\jsApp.bat"
- type
jsApp.bat hello-JS-App
(replace hello-JS-App with your desired name) from within the folder you want to create the structure in - the files should be created and opened including all templates ๐
This version automates creating a basic React project structure using a batch script (reactAppC.bat). It copies your preferred template folder and attempts to open the main file in VS Code.
cd C:\Windows\System32
mklink reactApp.bat "C:\Users\%AppData%\Roaming\Code\User\batch\reactApp.bat"
- type
reactApp.bat hello-React-App
(replace hello-React-App with your desired name) from within the folder you want to create the structure in - the files should be created and opened including all templates ๐
- this setup assumes that your visual studio executable is installed under:
- %LocalAppData%\Programs\Microsoft VS Code\Code.exe