mirror of
https://github.com/lainbo/component-party.git
synced 2026-04-05 13:09:03 +08:00
improve contributing
This commit is contained in:
15
README.md
15
README.md
@@ -22,11 +22,16 @@ How do we solve this ? Developers love having framework overview by examples. It
|
||||
|
||||
## Contributing
|
||||
|
||||
1. Fork it!
|
||||
2. Create your feature branch: `git checkout -b my-new-feature`
|
||||
3. Commit your changes: `git commit -am 'Add some feature'`
|
||||
4. Push to the branch: `git push origin my-new-feature`
|
||||
5. Submit a pull request :D
|
||||
This site is built with [Astro](https://docs.astro.build). Site content is written in Markdown format located in `content`. For simple edits, you can directly edit the file on GitHub and generate a Pull Request.
|
||||
|
||||
For local development, [pnpm](https://pnpm.io/) is preferred as package manager:
|
||||
|
||||
```bash
|
||||
pnpm i
|
||||
pnpm run dev
|
||||
```
|
||||
|
||||
This project requires Node.js to be `v14.0.0` or higher, because we use new JavaScript features in our code, such as optional chaining.
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -22,11 +22,16 @@ How do we solve this ? Developers love having framework overview by examples. It
|
||||
|
||||
## Contributing
|
||||
|
||||
1. Fork it!
|
||||
2. Create your feature branch: `git checkout -b my-new-feature`
|
||||
3. Commit your changes: `git commit -am 'Add some feature'`
|
||||
4. Push to the branch: `git push origin my-new-feature`
|
||||
5. Submit a pull request :D
|
||||
This site is built with [Astro](https://docs.astro.build). Site content is written in Markdown format located in `content`. For simple edits, you can directly edit the file on GitHub and generate a Pull Request.
|
||||
|
||||
For local development, [pnpm](https://pnpm.io/) is preferred as package manager:
|
||||
|
||||
```bash
|
||||
pnpm i
|
||||
pnpm run dev
|
||||
```
|
||||
|
||||
This project requires Node.js to be `v14.0.0` or higher, because we use new JavaScript features in our code, such as optional chaining.
|
||||
|
||||
---
|
||||
|
||||
|
||||
@@ -16,12 +16,12 @@
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
||||
h1:hover .header-anchor,
|
||||
h2:hover .header-anchor {
|
||||
#main-content h1:hover .header-anchor,
|
||||
#main-content h2:hover .header-anchor {
|
||||
opacity: 100;
|
||||
}
|
||||
|
||||
.header-anchor {
|
||||
#main-content .header-anchor {
|
||||
float: left;
|
||||
margin-left: -0.87em;
|
||||
padding-right: 0.23em;
|
||||
|
||||
Reference in New Issue
Block a user