Skip to content

Latest commit

History

History
53 lines (39 loc) 路 1.22 KB

CONTRIBUTING.md

File metadata and controls

53 lines (39 loc) 路 1.22 KB

Contribution Guide

If you want to contribute to Newcar Team, there are some tips for you.

Compiling and Run

We use pnpm as the packages manager and monorepo to namage our repo.

Before you get started, you are supposed to install pnpm if your computer have not it:

$ npm install -g pnpm

Forking the repo and link to it, you can use command as followings:

$ pnpm install
$ pnpm dev
$ pnpm serve
$ pnpm build

Congratulations! If everything is okay, you can visit localhost:5173 with your browser and see this examples.

File Structure

Open the repo, you will see the structure like followings:

mods
  | mod-math
  | mod-geometry
  | mod-chart
  | ...
packages
  | core
  | basic
  | ...
plugins
  | ...
...
  • mods: The offical mods of Newcar
  • packages: the core and other packages that core is dependent on or be dependented
    • basic: There are many basic figures in there, please refer to newcar.js.org to see them
  • plugins: The offcial plugins of Newcar

And you can custom some widget for our offical lib, the guide is in out documentation.

We hope you can get a great sense when you contribute to us.

Thanks for reading!