The syntax of import is import xxx from ooo. Now in vue, can the location of ooo use an external url? That is to say, this file is not in this project. Can I introduce the components in this file?
Ruan Yifeng’s introduction to es6. Now es6 is translated into es5 through babel. Your question is that the root path of the loaded file should be set in webpack
If it is the address of the local machine, it is ok. Because it is finally packaged through webpack If it is the URL of the http protocol, it is not ok. If npm cannot install webpack, try installing it with cnpm
Ruan Yifeng’s introduction to es6. Now es6 is translated into es5 through babel. Your question is that the root path of the loaded file should be set in webpack
If it is the address of the local machine, it is ok. Because it is finally packaged through webpack
If it is the URL of the http protocol, it is not ok.
If npm cannot install webpack, try installing it with cnpm