[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-489292-105":59,"doc-detail-489292-en":130,"doc-similar-489292":161},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","generating-your-own-react-project-template-tutorial-guide","Generating Your Own React Project Template - Tutorial Guide","","This document serves as a comprehensive technical guide for developers aiming to establish a personalized React project template. It provides two distinct pathways: a rapid shortcut mode using existing organizational templates via degit, and a manual configuration process using Vite. The guide covers essential initialization steps, including project setup, dependency installation with npm, and initial Git repository management. Furthermore, it details specific customization techniques such as integrating SASS/SCSS for advanced styling, modifying HTML metadata for better branding, and refactoring core component imports to adhere to modern TypeScript practices within the React ecosystem. By following these structured instructions, developers can streamline their workflow, ensure consistency across new projects, and leverage high-quality tooling to enhance front-end development productivity. The manual is designed for quick reference and effective project architecture management.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/generating-your-own-react-project-template-tutorial-guide/489292/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/generating-your-own-react-project-template-tutorial-guide/489292.png","ImageObject",300,407,{"name":92,"@type":93},"pixelkiddo","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-25","2026-10-01",true,{"@type":102,"interactionType":103,"userInteractionCount":24},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"How can I quickly duplicate the existing SDG project template?","Question",{"text":112,"@type":113},"You can use the 'degit' tool to clone the template repository, initialize a new Git repository, and push it to your own origin using the commands provided in the shortcut mode section.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"What are the recommended framework and variant choices when using Vite?",{"text":117,"@type":113},"The guide recommends choosing 'react' as the framework and 'react-ts' as the variant to ensure proper TypeScript support in your project.",{"name":119,"@type":110,"acceptedAnswer":120},"What steps are required to add SASS/SCSS support to the project?",{"text":121,"@type":113},"To add SASS capabilities, run the command 'npm install --save-dev sass' in your project directory and update your index.scss imports in the main.tsx file.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},489292,1793030291,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":24,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":144,"read_time":145,"preview_page_count":19,"preview_urls":146},962090883892,"https://ap-avatar.wpscdn.com/avatar/e00115db34f3e0f11b?x-image-process=image/resize,m_fixed,w_180,h_180&k=1790152879550218658","Generating Your Own  \nReact Project Template  \nGetting started-SHORTCUT MODE  \nTo skip the rest of this setup and simply duplicate what SDG already setup:  \ncd ~/sdg  \ndegit suncoast-devs/react-project-template react-projet-template cd react-project-template  \ngit init  \ngit add .  \ngit commit-m \"Initial commit\"hub create  \ngit push origin HEAD  \nAnd you will have your own copy of SDG's project template.  \nGetting started  \nIn the same directory where you create projects: npm init vite--react-project-template  \n• Choose react as the framework  \n• Choose react-ts as the variant  \nCheck out the template it created  \ncd react-project-template npm install  \ngit init  \ngit add .  \ngit commit-m \"Initial vite template\"  \ncode .  \nCustomize!  \nAdd sass for SASS/SCSS awesomeness  \n• This will let us use the  awesome sass/scss tooling npm install--save-dev sass  \nindex.html  \n• Change the default \u003Ctitle>  \nfavicon.svg  \nSuggest SDG's badge graphic available  here  \nsrc/main.tsx  \nChange  \nimport ' ./index.scss'  \nto  \nimport ` ./index.scss`  \nand  \nimport App from ' ./App'  \nto  \nimport { App } from ' ./App'  \nsrc/App.css  \nDelete this ﬁle","cbCaivoG6Hg3xxj5","https://ap.wps.com/l/cbCaivoG6Hg3xxj5","pdf",528967,28,"English","# Generating Your Own React Project Template\n## Getting started-SHORTCUT MODE\n## Getting started-Vite Configuration\n## Customize project environment","[{\"question\":\"How can I quickly duplicate the existing SDG project template?\",\"answer\":\"You can use the 'degit' tool to clone the template repository, initialize a new Git repository, and push it to your own origin using the commands provided in the shortcut mode section.\"},{\"question\":\"What are the recommended framework and variant choices when using Vite?\",\"answer\":\"The guide recommends choosing 'react' as the framework and 'react-ts' as the variant to ensure proper TypeScript support in your project.\"},{\"question\":\"What steps are required to add SASS/SCSS support to the project?\",\"answer\":\"To add SASS capabilities, run the command 'npm install --save-dev sass' in your project directory and update your index.scss imports in the main.tsx file.\"}]","Generating Your Own React Project Template - Tutorial Guide | PDF",1790822014,71,[147,151,154,158],{"page_no":8,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/2c89f0fd482ef356bc13bbe047bbac17.webp",983,552,{"page_no":14,"url":152,"width":153,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/7ce55aa7c0153b80bc6274a7b2d31aaa.webp",982,{"page_no":81,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/9e8634f53df5de1374bca2b196efdd63.webp",981,551,{"page_no":19,"url":159,"width":160,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/7666b3471a56ed3af64357dcc1d1676f.webp",980,{"list":162,"token":66},[163,170,177,183,189,195,201,208,214,221],{"doc_id":164,"doc_title":165,"file_type":137,"home_preview_img_url":166,"slug":167,"view_count":168,"category_name":30,"create_tm":169},348349,"Visual Studio Shortcuts 2021 - keyboard shortcuts guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229911610966/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=Xl%2BLtB1ehsyf8KPitCdh1PEG4Cs%3D","visual-studio-shortcuts-2021-keyboard-shortcuts-guide",18,1790072538,{"doc_id":171,"doc_title":172,"file_type":137,"home_preview_img_url":173,"slug":174,"view_count":175,"category_name":30,"create_tm":176},489294,"Getting Started with React - React Fundamentals and Setup Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229926988797/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=PSSI%2FXg0UwRmHXFZzlt%2FfXp4BF4%3D","getting-started-with-react-react-fundamentals-and-setup-guide",13,1790822021,{"doc_id":178,"doc_title":179,"file_type":137,"home_preview_img_url":180,"slug":181,"view_count":19,"category_name":30,"create_tm":182},697385,"Frontend Developer Manual - Frontend Developer Manual","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230009184523/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=Ur59cyg%2FHpmf%2BAj3FuDUCNrxeM4%3D","frontend-developer-manual-frontend-developer-manual",1794438242,{"doc_id":184,"doc_title":185,"file_type":137,"home_preview_img_url":186,"slug":187,"view_count":24,"category_name":30,"create_tm":188},489295,"UI5 Web Components using React and Serverless - 2022 Technical Presentation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229926988836/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=49A%2FPkAvpgTeb4SYtHYu1mL4WP4%3D","ui5-web-components-using-react-and-serverless-2022-technical-presentation",1790822028,{"doc_id":190,"doc_title":191,"file_type":137,"home_preview_img_url":192,"slug":193,"view_count":81,"category_name":30,"create_tm":194},692285,"React Fundamentals - A Beginner’s Guide to JavaScript, TypeScript, HTML, and CSS","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230003187007/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=%2BegknivEMQboSjvuSjBhA89FRMo%3D","react-fundamentals-a-beginners-guide-to-javascript-typescript-html-and-css",1794192415,{"doc_id":196,"doc_title":197,"file_type":137,"home_preview_img_url":198,"slug":199,"view_count":8,"category_name":30,"create_tm":200},760731,"Introduction to Git & GitHub - Course Preparation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230044249626/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=HufuwQO4XQ7XQmIWVeMfGWwB0dg%3D","introduction-to-git-github-course-preparation",1795908756,{"doc_id":202,"doc_title":203,"file_type":137,"home_preview_img_url":204,"slug":205,"view_count":206,"category_name":30,"create_tm":207},489289,"Umbraco Headless Demo - Deep Dive into the Umbraco Headless Demo","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229927221396/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=j1Q1O9I9QAv6MPJXXug4ez67FXM%3D","umbraco-headless-demo-deep-dive-into-the-umbraco-headless-demo",11,1790822011,{"doc_id":209,"doc_title":210,"file_type":137,"home_preview_img_url":211,"slug":212,"view_count":52,"category_name":30,"create_tm":213},693047,"Beginner’s Guide to using Git","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230005055448/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=hNaiir35jNtaF2VeGzpq%2BVYgY6c%3D","beginners-guide-to-using-git",1794246579,{"doc_id":215,"doc_title":216,"file_type":137,"home_preview_img_url":217,"slug":218,"view_count":219,"category_name":30,"create_tm":220},489329,"Become a ninja with Vue - free sample","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229926991859/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=%2FvGPCPNACVDRZveaQK134ZJVPiM%3D","become-a-ninja-with-vue-free-sample",12,1790822270,{"doc_id":222,"doc_title":223,"file_type":137,"home_preview_img_url":224,"slug":225,"view_count":8,"category_name":30,"create_tm":226},760727,"The Modern Git & GitHub Guide - A Beginner-to-Professional Quick Reference - 2026 Edition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230044249572/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111999&Signature=%2FmQZhd3b1u5aOqAftLGlZRRuimc%3D","the-modern-git-github-guide-a-beginner-to-professional-quick-reference-2026-edition",1795908750]