Webpack parses .vue to a js, so how does vue register this js as a component?

1.webpack parses .vue into a js, so how does vue register this js as a component
2. Whether this component is a global component or a local component
3. If it is a local component, how is it injected


1. First of all, parsing vue to js is
2. Implemented by vue-loader. You can register a local component or a global component, depending on your input processing
3 after the vue code import. How to inject it? you need to analyze the source code of vue


to see where you introduced it. If you import it in the outermost part, you can register it as global, and if you introduce it inside your own component, it will be a local component

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-34f881d-22255.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-34f881d-22255.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?