What files should vue-cli assets and static put respectively?

what files should vue-cli assets and static put respectively? There are many explanations about assets and static on the Internet, but I feel that there is no concise explanation

there are many articles like this, but all I need is where to put some js methods for initializing css and encapsulation written by myself, because I find that I can use them normally in both assets and static, but as mentioned in the article, I will be packaged by webpack in assets, but not in static.

I wonder which of my own css and js is better in terms of performance
static resource management in Vue-cli (the difference between src/assets and static/)

Mar.22,2021

in fact, the article has already said almost.
put assets folder may be processed by webpack (depending on loader), for example, small images may be directly processed into base64 format.
and the static folder is copied to the appropriate packaging path as is when it is packaged.

< hr >

forgot to mention the conclusion.
the files you wrote yourself fit in assets .

Menu