ant-design / ant-design-landing

:mountain_bicyclist: Landing Pages of Ant Design System
https://landing.ant.design/
MIT License
6.17k stars 632 forks source link

understand the repo structure #333

Closed john45321 closed 3 years ago

john45321 commented 3 years ago

Hi, It's not an issue but rather a question about the repo.

I want to contribute to the repo. But it is really difficult to understand the structure of the repo. The docs didn't have any information about the repo structure. I mean what is the purpose of these 3 directories? site/edit site/templates site/theme

When I run the script with yarn start-edit on the local environment server will start the editor but the iFrame not contain any page in it?

Could you please help me with this?

jljsj33 commented 3 years ago

npm start or yarn start

john45321 commented 3 years ago

Thanks, @jljsj33 for your help.

Now it starts! Please could you tell me what is the purpose of these 3 directories? site/edit site/templates site/theme

Is there a way we can only use Editor with the template?

jljsj33 commented 3 years ago

theme is site, other self research