# vue-next-multiple-cli **Repository Path**: yyuxia/vue-next-multiple-cli ## Basic Information - **Project Name**: vue-next-multiple-cli - **Description**: 实现vue项目脚手架 - **Primary Language**: JavaScript - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-04-30 - **Last Updated**: 2024-06-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: 脚手架 ## README ## 安装webpack 1. `npm i webpack webpack-cli -D` 2. `npm i clean-webpack-plugin -D` 3. `npm i html-webpack-plugin -D` 4. `npm i copy-webpack-plugin -D` 5. ` npm i glob -D` 6. `npm i webpack-merge -D` 7. `npm i mini-css-extract-plugin @types/mini-css-extract-plugin -D` ## [搭建typescript环境](https://www.webpackjs.com/configuration/configuration-languages/#typescript) 1. `npm install --save-dev typescript ts-node @types/node @types/webpack ` 2. ts配置文件初始化 `npx tsc --init` ## webpack-dev-server 1. `npm i webpack-dev-server -D` ## vue 1. `npm install -D vue-loader@16 vue-template-compiler vue-style-loader ts-loader css-loader sass-loader sass babel-loader @babel/core @vue/babel-preset-app` 2. `npm i vue@next`