bit-page-designer
v0.0.3
Published
自定义页面设计器
Downloads
1
Readme
bit-page-designer
自定义页面设计器
技术栈
Vue3.x: 使用
Vue3.x
框架,支持<script setup>
语法;TypeScript: 使用
TypeScript
进行类型注解;Vite.js: 使用
Vite.js
进行打包构建;
代码规范相关
- ESLint:代码格式校验,使用
Visual Studio Code
开发的话需要安装配套的ESLint
插件;本项目采用Airbnb风格; - Prettier: 代码格式化,使用
Visual Studio Code
开发的话需要安装配套的Prettier
插件; - husky: 通过 ESLint 检测和修复的代码禁止提交;
- lint-staged: 在 git 暂存的文件上运行 linters;
开发工具
如果使用的是 Visual Studio Code
作为开发工具,需要安装以下插件
ESLint
: 和ESlint
依赖配套使用;Prettier
: 和Prettier
依赖配套使用;Vue Language Features (Volar)
: 用来支持 Vue3.x 语法
开发指南
1. 安装依赖
NPM
npm install
YARN
yarn install
2. 启动
NPM
npm run dev
YARN
yarn dev