Get the App
SLTechnology News&Howtos  ›  Development  › 

What are the characteristics of component

Shulou Source: shulou.com Published: 2022-06-02 20:09:47 10月01日 Update

This article mainly explains "what are the characteristics of component". The content of the explanation is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "what are the characteristics of component"?

Component is a tool for managing client-side JavaScript packages for better building Web applications.

Component features:

Write modular commonjs components

Write components that contain styles, pictures, scripts, etc.

No need for registry publication or account, use github database

Subcommands can be extended through component-YOURCOMANDgit style

Commands for component skeleton creation

Install dependencies from commands or. / component.json

Avoidnamesquattingthroughgithub'snamingconventions

Use-- shandalone to build components for non-component users

Find useful packages through a simple and reliable search

You can view the document directly on the command line

Simple private registry settings (only one file server is required)

Very fast installation (50componentsin~4.5s)

Very fast search (~ 300ms)

Component installation

Npminstall-gcomponent

Component is a vertically integrated frontend solution, handling everything from package management to the build process, handling everything including HTML, JS, CSS, images, and fonts. Think of it as an opinionated npm + browserify + rework-npm + grunt/gulp/broccoli all wrapped into component build.

Want to know more about Component? Visit the guide or view the comparison with other solutions.

If you're confused about component, components, componentjs, please read disambiguation

Component 1.0.0: Several major new features have been added, some have been removed, and the project has been greatly reorganized. You may need to upgrade your version of node and/or npm to avoid breakage. Please see the detailed changelog. Component 0.x will not be maintained anymore.

Thank you for your reading, the above is the content of "what are the characteristics of component". After the study of this article, I believe you have a deeper understanding of the characteristics of component, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Tags: Features components commands content learning registry search just pictures clients clients that is tools ideas situations files documents articles more useful Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia OPPO Reno Shulou Tech Info Apple macOS