|
il y a 1 mois | |
---|---|---|
.vscode | il y a 5 mois | |
public | il y a 1 mois | |
src | il y a 1 mois | |
.editorconfig | il y a 5 mois | |
.env | il y a 5 mois | |
.env.development | il y a 2 mois | |
.eslintrc-auto-import.json | il y a 5 mois | |
.gitignore | il y a 5 mois | |
README.md | il y a 5 mois | |
eslint.config.js | il y a 1 mois | |
index.html | il y a 1 mois | |
package.json | il y a 1 mois | |
pnpm-lock.yaml | il y a 1 mois | |
prettier.config.js | il y a 5 mois | |
unocss.config.js | il y a 3 mois | |
vite.config.js | il y a 2 mois |
git clone https://github.com/gitboyzcf/vue3-simple-screen.git
pnpm install
pnpm dev
pnpm build
本地开发推荐使用Chrome 80+
浏览器
支持现代浏览器, 不支持 IE
![]() | IE![]() | Edge
![]() | Firefox
---|
📦 组件自动化引入
🌈 Primevue - Vue.js UI 套件,提高开发效率
🎨 UnoCSS - 高性能且极具灵活性的即时原子化 CSS 引擎
🔥 使用 新的 <script setup>
语法
📥 API 自动加载 - 直接使用 Composition API 无需引入
🌍 API 采用模块化自动导入方式 根据demo.js文件设置接口,以API_xxx_method的方式命名,在请求时无需导入 直接使用useRequest()函数返回参数以解构的方式获取,拿到即为写入的接口
🐶 husky + lint-staged - Git提交自动检测格式化代码,解放双手
参考 Vue 规范
✨ feat
增加新功能🐛 fix
修复问题/BUG🎉 init
初始化📝 docs
文档变更💄 style
代码格式(不影响代码运行的变动)♻️ refactor
重构(既不是增加feature,也不是修复bug)⚡️ perf
性能优化✅ test
增加测试⏪️ revert
回退🚀 build
构建过程或辅助工具的变动👷 ci
CI 配置安装图标所在的图标库
# 格式:pnpm add @iconify-json/[the-collection-you-want] -D
# 例如
pnpm add @iconify-json/ep -D
安装完后可以使用当前库下的所有图标 https://icon-sets.iconify.design/ep/
<div class="i-ep-apple w-20px h-20px color-red"></div>