当前位置:网站首页>Scaffold document directory description and document exposure
Scaffold document directory description and document exposure
2022-07-24 10:17:00 【Delete your code in the middle of the night·】
Description of scaffold document directory
dist: The root directory of the browser runtime
node_modules: Project dependence
public: The static resources in the package will not be affected webpack Influence , Copy things directly to dist Inside ,( Equivalent to the root directory at the beginning )
src Inside assets There are also static resources , Will receive webpack Influence , The resources inside will be compressed Will eventually be returned to dist
.gitignore: Version management ignores files
babel.config.js: To configure babel( hold ES6+ convert to ES5) babel Itself cannot be converted , Because there is a preset , There are many plug-ins , The conversion depends on plug-ins , And there are some configurations
jsconfig.json:js Configuration of ,baseUrl( Basic path )、paths( And baseUrl Match and use ./scr/*, Absolute path )
package-lock.json: Record the details of the installed package ( effect : Check whether the package conflicts ,npm i Improve efficiency when )
package.json: Package configuration , Write at least five items name、version、private、dependencies、devDependencies
readme: Project description
vue.config.js: Scaffolding provided when creating the project , because webpackconfig.js Can't find
When opening a web page Send a request to webpack-dev-sever Opening service , To configure http-proxy-middleware Acting as agent So the operation can enter the page
When the packaging ,webpack hide dist Folder , But it still exists in memory
Document exposure
Default exposure : When the document is released , With default For attributes , Expose the following values as objects
./xxx:
{
default:{
a: 100
}
}
import {default as a } from './xxx'import * as from './xxx' What you get is the whole exposed object
边栏推荐
- Home raiding II (leetcode-213)
- The paper of gaojingjian center was selected into the ACL 2022 of the international summit to further expand the privacy computing capacity of Chang'an chain
- Dynamic programming -- a collection of stock problems
- Selnium checks three conditions when it cannot locate an element
- Association Rules -- July 10, 2022
- CRC Coding in C language
- What is the cloud native mid platform business architecture?
- Ribbon's loadbalancerclient, zoneawareloadbalancer and zoneavoidancerule are three musketeers by default
- Trie tree template 2
- Raspberry Pie: the serial port has been unable to read the information sent by the upper computer
猜你喜欢

二叉树、二叉树排序树的实现及遍历

Do you really understand the concept of buffer? Take you to uncover the buffer zone~
![[STM32 learning] (22) STM32 realizes 360 degree rotary encoder](/img/8e/fb036296ec3aff5e60acee5018943c.png)
[STM32 learning] (22) STM32 realizes 360 degree rotary encoder

JMeter setting default startup Chinese
![[STM32 learning] (15) STM32 realizes DHT11 temperature and humidity acquisition and display](/img/f2/6fcd4b2e747b4ceb52a52eda0c1af4.png)
[STM32 learning] (15) STM32 realizes DHT11 temperature and humidity acquisition and display

757. Set the intersection size to at least 2: greedy application question
![Calculate CPU utilization [Prometheus]](/img/00/d9f297e3013cabbf3d41be58105fc7.png)
Calculate CPU utilization [Prometheus]
![[STM32 learning] (14) two 74HC595 controls four nixie tube displays](/img/22/c83e29bead8e6298a0a3564419022c.png)
[STM32 learning] (14) two 74HC595 controls four nixie tube displays

In the envy of LETV, there is a "meaning crisis" of contemporary workers

The best time to buy and sell stocks Ⅲ (leetcode-123)
随机推荐
Implementation and traversal of binary tree and binary tree sorting tree
Activity exception lifecycle
[STM32 learning] (17) STM32 realizes LCD12864 display serial implementation
【LeeCode】获取2个字符串的最长公共子串
Anti shake and throttling
[STM32 learning] (11) STM32 Mifare_ Use of one (S50) m1s50 (read, write, key modification, control bit interpretation)
图模型2--2022-5-13
Looting (leetcode-198)
Source insight 3.5 comment garbled
What is the cloud native mid platform business architecture?
Detailed explanation of uninstalling MySQL completely under Linux
Do you really understand the concept of buffer? Take you to uncover the buffer zone~
【剑指 Offer II 115. 重建序列】
Kotlin advanced
fatal: unable to commit credential store: Device or resource busy
Differential restraint system -- 1 and 2 -- May 27, 2022
zoj1137+作业1--2022年5月28日
NIO知识点
Curse of knowledge
JS bind simulation