Code Monkey home page Code Monkey logo

campus-bbs's Introduction

项目介绍

简介

  1. 技术栈: Vite + typescript + vue3 生态链 + pnpm。

  2. 项目开始:代码拉到本地后,输入pnpm i 安装依赖 再输入 pnpm dev启动

包含内容

  • Vite + typescript + vue3 生态链 项目架构

  • Vite 分开发环境和生产环境进行配置

  • 新旧浏览器的兼容性处理

  • 配置 eslint + stylelint + prettier 去统一代码风格

  • 配置 commitizen + commitlint 去规范代码提交,提交代码时不要执行git commit ,而是执行封装好的命令pnpm commit

  • 对 vue-router 、 pinia、 本地 mock、axios 拦截器、表单验证进行封装

  • 支持自动注册组件和自动引入 api

  • 集成 icon-park 库和 animate.css 以及 gsap

关于类型声明

组件和 apis 的类型声明写在自身文件内

store 里的类型声明单独创建一个 types 文件

campus-bbs's People

Contributors

yonecdeng avatar

Stargazers

 avatar  avatar

Watchers

 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.