Giter Site home page Giter Site logo

vite2_vue3_base's Introduction

Vue 3 + Vite2

安装测试

// 进入目录
yarn
// 启动server
yarn dev
// 打包
yarn build

更新记录

  • 自动化路由
  • 封装 axios,支持 JWT
  • 封装 localStorage
  • 移动端适配 postcss 插件 postcss-px2vp
  • 组件库使用 vant
  • 配置 server,添加 ip 访问
  • title 动态修改
<script setup>
import { useMeta } from "vue-meta";
useMeta({
  title: "用户中心",
});
</script>
  • 添加开发环境和生成环境中 base 的区分,生产环境.env,开发环境.env.production
  • 使用 sass
  • normalize.css
  • layout 布局
  • mock,直接在/mock 文件夹下面,创建对应的文件,添加需要的 mock 数据就可以
  • svgicon,https://iconpark.oceanengine.com/home
  • vant 组件自动导入

vite2_vue3_base's People

Contributors

ningbnii avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.