从0到1快速开发 Springboot+Vue+Vite+MybatisPlus......

事前工作

Vuejs中文文档

安装Nodejs

node -v 查看node是否已安装

安装淘宝镜像
npm install -g cnpm -registry=https://registry.npm.taobao.org

安装Vite
npm create vite@latest

创建vite应用
npm create vite@latest ui

使用 less
npm install less less-loader -D

如果Maven下载慢,在Maven创建Seting.xml

<mirrors>
        <mirror>  
            <id>alimaven</id>  
            <name>aliyun maven</name>  
            <url>http://maven.aliyun.com/nexus/content/groups/public/</url>  
            <mirrorOf>central</mirrorOf>          
        </mirror>  
</mirrors>

配置Vue的模板
MybatisPlus

        <dependency>
            <groupId>com.baomidou</groupId>
            <artifactId>mybatis-plus-boot-starter</artifactId>
            <version>3.5.3</version>
        </dependency>
posted @ 2023-04-03 16:00  fa4tBug  阅读(41)  评论(0)    收藏  举报  来源