Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 973 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 973 Bytes

WorldCheeses

This is a static React site, build on the principles of components, displaying a sample of cheeses from all over the world.

How It Is Done

Techs used: React, Vite

Vite: Using the command line, navigate into the folder with all your projects, if you are using npm type in "npm create vite@latest" for other package managers, follow the link https://vitejs.dev/guide/ for scaffolding your project.

Once the project has been scaffolded, in which you are setting up your project name and libraries used, navigate into the project folder and use the following commands: npm install npm run dev

That will produce a link to a localhost port on which you can view your project you are building and Vite provides with a core of files which you can use to get started on your project.

Lessons Learned

  • Base knowledge of React to create a static site
  • Creating custom components with React
  • Rendering the content of custom components using props