undefinedfix
Sign in

The function of each file of the downloaded Ant Design Vue NPM package

Jose edited in Sat, 24 Sep 2022

1. The function of each file of the downloaded Ant Design Vue NPM package

2. The NPM packet structure of ant desing Vue

3. Contents under the directory

4. Contents under lib directory

5. Contents in the types directory

What's the difference between these three folders

2 Replies
minhthe
commented on Sat, 24 Sep 2022

Es directory can be approximately understood as the source code, is based on ES6.

Lib directory is the result of the file Babel in ES directory, which is converted to Es5.

Under the types directory is the typescript type definition file. It is useful if your project needs typescript support, otherwise it is not.

But these have nothing to do with your development. You just need to import the required components according to the documents.

Tuberculosis
commented on Sat, 24 Sep 2022

There is no lib, ES folder, how to generate it?