styled-components/styled-components-website
概要
styled-components のウェブサイトとドキュメント
Web・アプリ開発計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- -1
- 1か月
- 0
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルstyled-components.com
The styled-components website. Built with Next.js, Preact and (of course) styled-components!
Contributing
Thank you so much for wanting to contribute to the website! We could really use a hand at making it the best it can be, see the issues for some ideas on what to do.
If you've never worked with the technologies used in this repo, here are some links that may help:
- Learn Next.js
- Next.js documentation
- styled-components documentation (this very website!)
Running locally
To develop the website locally, you'll want to run the development server:
# Download the repo
git clone https://github.com/styled-components/styled-components-website
# Enter the repo
cd styled-components-website
# Install the dependencies
pnpm install
# Start local development
pnpm dev
Note: This requires Node.js and pnpm to be set up locally, see nodejs.org for more information.
Updating the visual diffs
If you add a new section or materially change the website, it probably will trigger the image comparison diff snapshot to fail. These can be updated via:
pnpm test -- -u
Folder structure
This is what each folder correlates to:
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
関連プロジェクトを探す
読み込み中…