vue directory structure description

 

directory/file illustrate
build Project build (webpack) related code
config Configuration directory, including port numbers, etc. We can use the default one for beginners.
node_modules Project dependency modules loaded by npm
src

Here is the directory we want to develop, and basically everything we need to do is in this directory. It contains several directories and files:

  • assets: place some images, such as logos, etc.
  • components: A component file is placed in the directory, but it is not necessary.
  • App.vue: The project entry file, we can also write components directly here without using the components directory.
  • main.js: The core file of the project.
static Static resource directory, such as images, fonts, etc.
test Initial test directory, which can be deleted
.xxxx files These are some configuration files, including syntax configuration, git configuration, etc.
index.html Homepage entry file, you can add some meta information or statistical code or something.
package.json Project configuration file.
README.md Project documentation, in markdown format

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325306406&siteId=291194637