Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialRohit Thorat
12,191 PointsHow to build website using Gatsby.js
i want to clone a popular website using gatsby js . Can anyone tell me how should i start the project . i did go through the docs for gatsby js but i am very confused how to start
1 Answer
stjarnan
Front End Web Development Techdegree Graduate 56,488 PointsHi Rohit,
Start by installing the Gatsby program:
npm install --global gatsby-cli
Then to initiate your new project, cd into the directory where you want to create your project folder, then run:
gatsby new NameOfYourApp UrlToStarter
You then want to cd into your new project and run this:
cd NameOfYourApp
gatsby develop
This will start your dev server, and you can now start changing your files :)
Hope that helps,
Jonas
Rohit Thorat
12,191 PointsRohit Thorat
12,191 PointsThank you , and one more thing i want to know is that , the template code for our web page is written in react or is there any difference in syntax?
stjarnan
Front End Web Development Techdegree Graduate 56,488 Pointsstjarnan
Front End Web Development Techdegree Graduate 56,488 PointsYes :)