current position:Home>Vite2 build vue3 project

Vite2 build vue3 project

2022-01-27 04:24:37 「1+1=3」

1.npm init vite demo01

npm i (i namely install)

npm run dev 

3. Configuration dependency

npm  i [email protected] -S 

npm i [email protected] -S

npm i axios -S

npm i element-plus -S

notes : add -S  Options , The configuration can be written to package.json Of dependencies Field ( The production environment depends on )

npm install --save-dev babel-plugin-import( Realization element-plus On demand plug-ins )

copyright notice
author[「1+1=3」],Please bring the original link to reprint, thank you.

Random recommended