{"id":15106,"date":"2019-01-23T12:06:34","date_gmt":"2019-01-23T06:36:34","guid":{"rendered":"https:\/\/mobisoftinfotech.com\/resources\/?p=15106"},"modified":"2025-11-27T13:05:32","modified_gmt":"2025-11-27T07:35:32","slug":"set-up-a-create-react-app-project-with-ant-design-and-less-support","status":"publish","type":"post","link":"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/set-up-a-create-react-app-project-with-ant-design-and-less-support","title":{"rendered":"A Step by Step Tutorial to set up a Create React App Project with Ant Design and Less Support"},"content":{"rendered":"<p><a href=\"https:\/\/ant.design\/docs\/react\/introduce\" rel=\"nofollow noopener\">Ant Design<\/a> is a very popular UI component toolkit. It contains almost every UI component that one might require in an Enterprise React application. For styling Ant Design uses <a href=\"http:\/\/lesscss.org\/\" rel=\"nofollow noopener\">Less CSS Preprocessor<\/a>. Unfortunately the Create React App (CRA) project doesn&#8217;t come with inbuilt Less support. In this article we will see how to set up a React project from scratch using CRA with Ant Design and Less support using the <a href=\"https:\/\/github.com\/sharegate\/craco\" rel=\"nofollow noopener\">craco<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"toc_1\">Step 1. Create the Project<\/h2>\n\n\n\n<div>\n<pre><code class=\"language-bash\">npx create-react-app react-sample\ncd react-sample\nnpm start<\/code><\/pre>\n<\/div>\n\n\n\n<p>This will start a browser at: <a href=\"http:\/\/localhost:3000\/\" rel=\"nofollow noopener\">http:\/\/localhost:3000\/<\/a>.<\/p>\n\n\n\n<p>If you visit the above URL you should see the default CRA page.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"toc_2\">Step 2: Add Ant Design, Craco and Craco Ant Design Plugin<\/h2>\n\n\n\n<div>\n<pre><code class=\"language-bash\">npm install antd @craco\/craco craco-antd --save<\/code><\/pre>\n<\/div>\n\n\n\n<p>Once the above mentioned packages are installed, create a new file with name <code>craco.config.js<\/code> at the same level as that of <code>package.json<\/code> and add the following content to it:<\/p>\n\n\n\n<div>\n<pre><code class=\"language-javascript\">const CracoLessPlugin = require(\"craco-less\");\n\nmodule.exports = {\n  plugins: [\n    {\n      plugin: CracoLessPlugin,\n      options: {\n        lessLoaderOptions: {\n          modifyVars: {\n            \"@primary-color\": \"#1DA57A\",\n            \"@link-color\": \"#1DA57A\",\n            \"@border-radius-base\": \"2px\"\n          },\n          javascriptEnabled: true\n        }\n      }\n    }\n  ]\n};<\/code><\/pre>\n<\/div>\n\n\n\n<p>In this file pay special attention to the <code>modifyVars<\/code> section. This section allows you to <a href=\"https:\/\/ant.design\/docs\/react\/customize-theme\" rel=\"nofollow noopener\">override the Less variables specified by the Ant Design project<\/a>. In the above example we have replaced the default blue primary color that Ant Design uses with a shade of green.<\/p>\n\n\n\n<p>Next we need to change the default scripts in the <code>package.json<\/code> file. Change the scripts section in your <code>package.json<\/code> with the following:<\/p>\n\n\n\n<div>\n<pre><code class=\"language-javascript\">\"scripts\": {\n\"start\": \"craco start\",\n\"build\": \"craco build\",\n\"test\": \"craco test\",\n\"eject\": \"react-scripts eject\"\n},<\/code><\/pre>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"toc_3\">Step 3: Rename the <code>App.css<\/code> file to <code>App.less<\/code><\/h2>\n\n\n\n<p>To use Less in your project, all you need to do is to use <code>.less<\/code> extension instead of the <code>.css<\/code> extension, craco will take care of the rest!<\/p>\n\n\n\n<p>Rename the <code>App.css<\/code> file to <code>App.less<\/code>. Also replace it&#8217;s contents with the following:<\/p>\n\n\n\n<div>\n<pre><code class=\"language-css\">@import '..\/node_modules\/antd\/lib\/style\/index';\n.App {\n    padding: 20px;\n    h1 {\n        color: @heading-color\n    }\n}<\/code><\/pre>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"toc_4\">Step 4: Modify <code>App.js<\/code> to use Ant Design<\/h2>\n\n\n\n<p>Replace the contents of the <code>App.js<\/code> file with the following:<\/p>\n\n\n\n<div>\n<pre><code class=\"language-javascript\">import React, { Component } from 'react';\nimport { Button } from 'antd';\nimport 'antd\/lib\/button\/style';\nimport '.\/App.less';\n\nclass App extends Component {\n  render() {\n    return (\n      &lt;div className=\"App\"&gt;\n        &lt;h1&gt;Create React Project with Ant Design and Less Support&lt;\/h1&gt;\n        &lt;Button type=\"primary\"&gt;Button&lt;\/Button&gt;\n      &lt;\/div&gt;\n    );\n  }\n}\n\nexport default App;<\/code><\/pre>\n<\/div>\n\n\n\n<p>Here we are just using a Ant Design button along with the <code>h1<\/code> tag. In the <code>App.less<\/code> file above, we have used the <code>@heading-color<\/code> Ant Design variable to specify the color for the <code>h1<\/code> tag.<\/p>\n\n\n\n<p>Also it&#8217;s important to notice, that we are importing the individual button component styles with <code>import 'antd\/lib\/button\/style';<\/code> instead of importing the whole Ant Design css. This helps us to keep the final bundle size as small as possible.<\/p>\n\n\n\n<p>That&#8217;s it! We are done. To test our project run:<\/p>\n\n\n\n<div>\n<pre><code class=\"language-bash\">npm start<\/code><\/pre>\n<\/div>\n\n\n\n<p>and point your browser to: <a href=\"http:\/\/localhost:3000\/\" rel=\"nofollow noopener\">http:\/\/localhost:3000\/<\/a><\/p>\n\n\n\n<p>Just to ensure that you are using Less through out the project, I will suggest that you should rename the <code>index.css<\/code> file to <code>index.less<\/code> and modify the <code>index.js<\/code> file accordingly.<\/p>\n\n\n\n<p>Hope this tutorial helped you to setup a React Project from scratch using Ant Design and Less Support. You can <a href=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2019\/01\/react-sample.zip\">download the source code<\/a> for this project from <a href=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2019\/01\/react-sample.zip\">here<\/a>.<\/p>\n\n\n\n<a href=\"https:\/\/mobisoftinfotech.com\/mobisoft-company\/mobile-app-development-houston-usa?utm_source=blog_cta&#038;utm_campaign=set-up-a-create-react-app-project-with-ant-design-and-less-support-cta1\"><figure class=\"wp-block-image size-full\"><noscript><img decoding=\"async\" width=\"855\" height=\"150\" src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2021\/12\/Inline-cta-5.png\" alt=\"Amplify your React app projects with our top mobile app development company Houston, USA, to accelerate business growth\" class=\"wp-image-24507\"><\/noscript><img decoding=\"async\" width=\"855\" height=\"150\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20855%20150%22%3E%3C%2Fsvg%3E\" alt=\"Amplify your React app projects with our top mobile app development company Houston, USA, to accelerate business growth\" class=\"wp-image-24507 lazyload\" data-src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2021\/12\/Inline-cta-5.png\"><\/figure><\/a>\n\n\n<div class=\"modern-author-card\">\n    <div class=\"author-card-content\">\n        <div class=\"author-info-section\">\n            <div class=\"author-avatar\">\n                <noscript><img decoding=\"async\" src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2022\/04\/Pritam1.jpg\" alt=\"Pritam Barhate\"><\/noscript><img decoding=\"async\" src=\"data:image\/gif;base64,R0lGODlhAQABAIAAAAAAAP\/\/\/yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\" alt=\"Pritam Barhate\" data-src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2022\/04\/Pritam1.jpg\" class=\" lazyload\">\n            <\/div>\n            <div class=\"author-details\">\n                <h3 class=\"author-name\">Pritam Barhate<\/h3>\n                <p class=\"author-title\">Head of Technology Innovation<\/p>\n                <a href=\"javascript:void(0);\" class=\"read-more-link read-more-btn\" onclick=\"toggleAuthorBio(this); return false;\">Read more <noscript><img decoding=\"async\" src=\"\/assets\/images\/blog\/Vector.png\" alt=\"expand\" class=\"read-more-arrow down-arrow\"><\/noscript><img decoding=\"async\" src=\"data:image\/gif;base64,R0lGODlhAQABAIAAAAAAAP\/\/\/yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\" alt=\"expand\" class=\"read-more-arrow down-arrow lazyload\" data-src=\"\/assets\/images\/blog\/Vector.png\"><\/a>\n                <div class=\"author-bio-expanded\">\n                    <p>Pritam Barhate, with an experience of 14+ years in technology, heads Technology Innovation at <a href=\"https:\/\/mobisoftinfotech.com\" target=\"_blank\" rel=\"noopener\">Mobisoft Infotech<\/a>. He has a rich experience in design and development. He has been a consultant for a variety of industries and startups. At Mobisoft Infotech, he primarily focuses on technology resources and develops the most advanced solutions.<\/p>\n                    <div class=\"author-social-links\">\n                        <div class=\"social-icon\">\n                            <a href=\"https:\/\/www.linkedin.com\/in\/pritam-barhate-90b93414\/\" target=\"_blank\" rel=\"nofollow noopener\"><i class=\"icon-sprite linkedin\"><\/i><\/a>\n                            <a href=\"https:\/\/twitter.com\/pritambarhate\" target=\"_blank\" rel=\"nofollow noopener\"><i class=\"icon-sprite twitter\"><\/i><\/a>\n                        <\/div>\n                    <\/div>\n                    <a href=\"javascript:void(0);\" class=\"read-more-link read-less-btn\" onclick=\"toggleAuthorBio(this); return false;\" style=\"display: none;\">Read less <noscript><img decoding=\"async\" src=\"\/assets\/images\/blog\/Vector.png\" alt=\"collapse\" class=\"read-more-arrow up-arrow\"><\/noscript><img decoding=\"async\" src=\"data:image\/gif;base64,R0lGODlhAQABAIAAAAAAAP\/\/\/yH5BAEAAAAALAAAAAABAAEAAAIBRAA7\" alt=\"collapse\" class=\"read-more-arrow up-arrow lazyload\" data-src=\"\/assets\/images\/blog\/Vector.png\"><\/a>\n                <\/div>\n            <\/div>\n        <\/div>\n        <div class=\"share-section\">\n            <span class=\"share-label\">Share Article<\/span>\n            <div class=\"social-share-buttons\">\n                <a href=\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=https%3A%2F%2Fmobisoftinfotech.com%2Fresources%2Fblog%2Fweb-programming%2Fset-up-a-create-react-app-project-with-ant-design-and-less-support\" target=\"_blank\" class=\"share-btn facebook-share\"><i class=\"fa fa-facebook-f\"><\/i><\/a>\n                <a href=\"https:\/\/www.linkedin.com\/sharing\/share-offsite\/?url=https%3A%2F%2Fmobisoftinfotech.com%2Fresources%2Fblog%2Fweb-programming%2Fset-up-a-create-react-app-project-with-ant-design-and-less-support\" target=\"_blank\" class=\"share-btn linkedin-share\"><i class=\"fa fa-linkedin\"><\/i><\/a>\n            <\/div>\n        <\/div>\n    <\/div>\n<\/div>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ant Design is a very popular UI component toolkit. It contains almost every UI component that one might require in an Enterprise React application. For styling Ant Design uses Less CSS Preprocessor. Unfortunately the Create React App (CRA) project doesn&#8217;t come with inbuilt Less support. In this article we will see how to set up [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":15122,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_s2mail":"yes","footnotes":""},"categories":[182],"tags":[991,990,993,992],"class_list":["post-15106","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web-programming","tag-ant-design","tag-react-app-project","tag-technical-guide","tag-web-programming"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to set up a Create React App Project with Ant Design &amp; less support<\/title>\n<meta name=\"description\" content=\"Ant Design is a very popular UI component toolkit. It contains almost every UI component that one might require in an Enterprise React application.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/set-up-a-create-react-app-project-with-ant-design-and-less-support\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to set up a Create React App Project with Ant Design &amp; less support\" \/>\n<meta property=\"og:description\" content=\"Ant Design is a very popular UI component toolkit. It contains almost every UI component that one might require in an Enterprise React application.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/set-up-a-create-react-app-project-with-ant-design-and-less-support\" \/>\n<meta property=\"og:site_name\" content=\"Mobisoft Infotech\" \/>\n<meta property=\"article:published_time\" content=\"2019-01-23T06:36:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-11-27T07:35:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2019\/01\/React-app-project.png\" \/>\n\t<meta property=\"og:image:width\" content=\"855\" \/>\n\t<meta property=\"og:image:height\" content=\"392\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Pritam Barhate\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Pritam Barhate\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/set-up-a-create-react-app-project-with-ant-design-and-less-support#article\",\"isPartOf\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/set-up-a-create-react-app-project-with-ant-design-and-less-support\"},\"author\":{\"name\":\"Pritam Barhate\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/fa762036b3364f26abeea146c01487ee\"},\"headline\":\"A Step by Step Tutorial to set up a Create React App Project with Ant Design and Less Support\",\"datePublished\":\"2019-01-23T06:36:34+00:00\",\"dateModified\":\"2025-11-27T07:35:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/set-up-a-create-react-app-project-with-ant-design-and-less-support\"},\"wordCount\":419,\"image\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/set-up-a-create-react-app-project-with-ant-design-and-less-support#primaryimage\"},\"thumbnailUrl\":\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2019\/01\/React-app-project.png\",\"keywords\":[\"ant design\",\"react app project\",\"technical guide\",\"web programming\"],\"articleSection\":[\"Web Programming\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/set-up-a-create-react-app-project-with-ant-design-and-less-support\",\"url\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/set-up-a-create-react-app-project-with-ant-design-and-less-support\",\"name\":\"How to set up a Create React App Project with Ant Design & less support\",\"isPartOf\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/set-up-a-create-react-app-project-with-ant-design-and-less-support#primaryimage\"},\"image\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/set-up-a-create-react-app-project-with-ant-design-and-less-support#primaryimage\"},\"thumbnailUrl\":\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2019\/01\/React-app-project.png\",\"datePublished\":\"2019-01-23T06:36:34+00:00\",\"dateModified\":\"2025-11-27T07:35:32+00:00\",\"author\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/fa762036b3364f26abeea146c01487ee\"},\"description\":\"Ant Design is a very popular UI component toolkit. It contains almost every UI component that one might require in an Enterprise React application.\",\"breadcrumb\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/set-up-a-create-react-app-project-with-ant-design-and-less-support#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/set-up-a-create-react-app-project-with-ant-design-and-less-support\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/set-up-a-create-react-app-project-with-ant-design-and-less-support#primaryimage\",\"url\":\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2019\/01\/React-app-project.png\",\"contentUrl\":\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2019\/01\/React-app-project.png\",\"width\":855,\"height\":392,\"caption\":\"React app project with Ant design\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/set-up-a-create-react-app-project-with-ant-design-and-less-support#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/mobisoftinfotech.com\/resources\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"A Step by Step Tutorial to set up a Create React App Project with Ant Design and Less Support\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/#website\",\"url\":\"https:\/\/mobisoftinfotech.com\/resources\/\",\"name\":\"Mobisoft Infotech\",\"description\":\"Discover Mobility\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/mobisoftinfotech.com\/resources\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/fa762036b3364f26abeea146c01487ee\",\"name\":\"Pritam Barhate\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/0e481c7ce54b3567ac70ddfc493523eefce0bdc3ee69fd2654f8f60a79e2f178?s=96&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0e481c7ce54b3567ac70ddfc493523eefce0bdc3ee69fd2654f8f60a79e2f178?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0e481c7ce54b3567ac70ddfc493523eefce0bdc3ee69fd2654f8f60a79e2f178?s=96&r=g\",\"caption\":\"Pritam Barhate\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to set up a Create React App Project with Ant Design & less support","description":"Ant Design is a very popular UI component toolkit. It contains almost every UI component that one might require in an Enterprise React application.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/set-up-a-create-react-app-project-with-ant-design-and-less-support","og_locale":"en_US","og_type":"article","og_title":"How to set up a Create React App Project with Ant Design & less support","og_description":"Ant Design is a very popular UI component toolkit. It contains almost every UI component that one might require in an Enterprise React application.","og_url":"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/set-up-a-create-react-app-project-with-ant-design-and-less-support","og_site_name":"Mobisoft Infotech","article_published_time":"2019-01-23T06:36:34+00:00","article_modified_time":"2025-11-27T07:35:32+00:00","og_image":[{"width":855,"height":392,"url":"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2019\/01\/React-app-project.png","type":"image\/png"}],"author":"Pritam Barhate","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Pritam Barhate","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/set-up-a-create-react-app-project-with-ant-design-and-less-support#article","isPartOf":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/set-up-a-create-react-app-project-with-ant-design-and-less-support"},"author":{"name":"Pritam Barhate","@id":"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/fa762036b3364f26abeea146c01487ee"},"headline":"A Step by Step Tutorial to set up a Create React App Project with Ant Design and Less Support","datePublished":"2019-01-23T06:36:34+00:00","dateModified":"2025-11-27T07:35:32+00:00","mainEntityOfPage":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/set-up-a-create-react-app-project-with-ant-design-and-less-support"},"wordCount":419,"image":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/set-up-a-create-react-app-project-with-ant-design-and-less-support#primaryimage"},"thumbnailUrl":"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2019\/01\/React-app-project.png","keywords":["ant design","react app project","technical guide","web programming"],"articleSection":["Web Programming"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/set-up-a-create-react-app-project-with-ant-design-and-less-support","url":"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/set-up-a-create-react-app-project-with-ant-design-and-less-support","name":"How to set up a Create React App Project with Ant Design & less support","isPartOf":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/#website"},"primaryImageOfPage":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/set-up-a-create-react-app-project-with-ant-design-and-less-support#primaryimage"},"image":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/set-up-a-create-react-app-project-with-ant-design-and-less-support#primaryimage"},"thumbnailUrl":"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2019\/01\/React-app-project.png","datePublished":"2019-01-23T06:36:34+00:00","dateModified":"2025-11-27T07:35:32+00:00","author":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/fa762036b3364f26abeea146c01487ee"},"description":"Ant Design is a very popular UI component toolkit. It contains almost every UI component that one might require in an Enterprise React application.","breadcrumb":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/set-up-a-create-react-app-project-with-ant-design-and-less-support#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/set-up-a-create-react-app-project-with-ant-design-and-less-support"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/set-up-a-create-react-app-project-with-ant-design-and-less-support#primaryimage","url":"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2019\/01\/React-app-project.png","contentUrl":"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2019\/01\/React-app-project.png","width":855,"height":392,"caption":"React app project with Ant design"},{"@type":"BreadcrumbList","@id":"https:\/\/mobisoftinfotech.com\/resources\/blog\/web-programming\/set-up-a-create-react-app-project-with-ant-design-and-less-support#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/mobisoftinfotech.com\/resources\/"},{"@type":"ListItem","position":2,"name":"A Step by Step Tutorial to set up a Create React App Project with Ant Design and Less Support"}]},{"@type":"WebSite","@id":"https:\/\/mobisoftinfotech.com\/resources\/#website","url":"https:\/\/mobisoftinfotech.com\/resources\/","name":"Mobisoft Infotech","description":"Discover Mobility","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/mobisoftinfotech.com\/resources\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/fa762036b3364f26abeea146c01487ee","name":"Pritam Barhate","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0e481c7ce54b3567ac70ddfc493523eefce0bdc3ee69fd2654f8f60a79e2f178?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0e481c7ce54b3567ac70ddfc493523eefce0bdc3ee69fd2654f8f60a79e2f178?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0e481c7ce54b3567ac70ddfc493523eefce0bdc3ee69fd2654f8f60a79e2f178?s=96&r=g","caption":"Pritam Barhate"}}]}},"_links":{"self":[{"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/posts\/15106","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/comments?post=15106"}],"version-history":[{"count":12,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/posts\/15106\/revisions"}],"predecessor-version":[{"id":45683,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/posts\/15106\/revisions\/45683"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/media\/15122"}],"wp:attachment":[{"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/media?parent=15106"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/categories?post=15106"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/tags?post=15106"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}