Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/growingio/gio-rewire
Tools for growingio frontend Architecture
https://github.com/growingio/gio-rewire
Last synced: about 1 month ago
JSON representation
Tools for growingio frontend Architecture
- Host: GitHub
- URL: https://github.com/growingio/gio-rewire
- Owner: growingio
- Created: 2020-05-21T04:55:49.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T04:42:59.000Z (almost 2 years ago)
- Last Synced: 2024-04-18T07:01:54.022Z (8 months ago)
- Language: JavaScript
- Size: 2.01 MB
- Stars: 1
- Watchers: 10
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Command
* 正常编译
``` base
gio-rewired lib compile
```* watch mode 的进行文件的编译
``` bash
gio-rewired lib compile --watch
```* rough mode
粗暴模式,``` bash
--rough
```* output
``` bash
--es 输出 es 模块
--cjs 输出 commonJs 模块
```## React Components Lib File Structure Rule
```` javascript
.
+-- src
| +-- componentA
| +-- style
| +-- sub-component.less
| +-- index.less
| +-- index.ts // export all the component less file
| +-- sub-component.tsx
| +-- index.tsx // export component and sub component
| +-- stylesheet
| +-- index.ts // export all your components and types
| +-- index.less // export all your components style into [package-name].css
+-- .gio-rewire.json
````## React App File Structure Rule