code-picker
v0.0.11
Published
Extract the component code needed from the component library and add it to your local project
Downloads
14
Readme
how use
Pull all the files in the directory
nr start --repo https://github.com/element-plus/element-plus/tree/dev/packages/components/alert --out ./examples
log
Create file -> /Desktop/code-picker/examples/alert/index.ts
Create file -> /Desktop/code-picker/examples/alert/src/alert.ts
Create file -> /Desktop/code-picker/examples/alert/__tests__/alert.test.tsx
Create file -> /Desktop/code-picker/examples/alert/src/instance.ts
Create file -> /Desktop/code-picker/examples/alert/style/css.ts
Create file -> /Desktop/code-picker/examples/alert/style/index.ts
Create file -> /Desktop/code-picker/examples/alert/src/alert.vue
Pull out the specified file and the import file included in the code
- nr start --repo https://github.com/element-plus/element-plus/tree/dev/packages/components/form/index.ts --out ./examples
- log
Create file -> /Users/zhangli/Desktop/code-picker/examples/form/index.ts
Create file -> /Users/zhangli/Desktop/code-picker/examples/form/src/form-item.vue
Create file -> /Users/zhangli/Desktop/code-picker/examples/form/src/form.vue
Create file -> /Users/zhangli/Desktop/code-picker/examples/form/src/form-item.ts
Create file -> /Users/zhangli/Desktop/code-picker/examples/form/src/types.ts
Create file -> /Users/zhangli/Desktop/code-picker/examples/form/src/constants.ts
Create file -> /Users/zhangli/Desktop/code-picker/examples/form/src/form.ts
Create file -> /Users/zhangli/Desktop/code-picker/examples/form/src/hooks/index.ts
Create file -> /Users/zhangli/Desktop/code-picker/examples/form/src/form-label-wrap.tsx
Create file -> /Users/zhangli/Desktop/code-picker/examples/form/src/utils.ts
Create file -> /Users/zhangli/Desktop/code-picker/examples/form/src/hooks/use-form-item.ts
Create file -> /Users/zhangli/Desktop/code-picker/examples/form/src/hooks/use-form-common-props.ts
get your github access tokens
- The primary rate limit for unauthenticated requests is 60 requests per hour.
https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens