styled components website
1.0.0
styled-components.com เว็บไซต์ styled-components สร้างขึ้นด้วย next.js, preact และ (แน่นอน) องค์ประกอบสไตล์!
ขอบคุณมากที่ต้องการมีส่วนร่วมในเว็บไซต์! เราสามารถใช้มือในการทำให้ดีที่สุดเท่าที่จะเป็นไปได้ดูปัญหาสำหรับแนวคิดบางอย่างเกี่ยวกับสิ่งที่ต้องทำ
หากคุณไม่เคยทำงานกับเทคโนโลยีที่ใช้ใน repo นี้นี่คือลิงค์บางส่วนที่อาจช่วยได้:
ในการพัฒนาเว็บไซต์ในเครื่องคุณจะต้องเรียกใช้เซิร์ฟเวอร์การพัฒนา:
# Download the repo
git clone https://github.com/styled-components/styled-components-website
# Enter the repo
cd styled-components-website
# Install the dependencies
yarn install
# Start local development
yarn devหมายเหตุ: สิ่งนี้ต้องใช้ Node.js และเส้นด้ายที่จะตั้งค่าในเครื่องดู Nodejs.org สำหรับข้อมูลเพิ่มเติม
หากคุณเพิ่มส่วนใหม่หรือเปลี่ยนเว็บไซต์อย่างมีนัยสำคัญอาจจะทำให้การเปรียบเทียบภาพสแนปชอตของภาพล้มเหลวล้มเหลว สามารถอัปเดตได้ผ่าน:
yarn test -uนี่คือสิ่งที่แต่ละโฟลเดอร์มีความสัมพันธ์กับ:
styled-components-website
├── components/ # Shared components
├── pages/ # The actual pages, mostly containing layout; the directory directly correlates to the URL. (e.g. pages/docs/basics.js === styled-components.com/docs/basics)
├── sections/ # The content, written in Markdown
├── public/ # Assets
├── test/ # Tests
├── utils/ # Various utilities use across the site
└── vendor/ # Cached dependencies