![]() The -g flag means you are installing the Gatsby command-line interface globally as opposed to locally. This Gatsby command-line interface will allow you to create and customize a new site: Gatsby provides users with starter templates, so you don’t have to worry about building a website from nothing.ĭownload the Gatsby CLI package. In this step you will install a new Gatsby site from a template. Step 1 - Installing Gatsby and Creating a New Project Although Gatsby uses React, you don’t need to know React in order to get started, but it would be helpful to be familiar with the basic concepts. You can learn more about JavaScript at our How To Code in JavaScript series. It will help to be comfortable with building websites with HTML, and styling with CSS, which you can learn more about in the How To Style HTML with CSS series.Īn understanding of JavaScript will be useful. To install this on macOS or Ubuntu 20.04, follow the steps in How to Install Node.js and Create a Local Development Environment on macOS or the Installing Node.js with Apt Using a NodeSource PPA section of How To Install Node.js on Ubuntu 20.04. ![]() Node.js version 14 (or above) installed on your computer. Keep in mind that you will make this site on your local machine and you will not deploy it.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |