You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
[yxf] f26cb78822 Initial commit: node_kefu_uniapp project 6 days ago
.vscode Initial commit: node_kefu_uniapp project 6 days ago
build/cool Initial commit: node_kefu_uniapp project 6 days ago
components Initial commit: node_kefu_uniapp project 6 days ago
config Initial commit: node_kefu_uniapp project 6 days ago
cool Initial commit: node_kefu_uniapp project 6 days ago
doc Initial commit: node_kefu_uniapp project 6 days ago
hooks Initial commit: node_kefu_uniapp project 6 days ago
locale Initial commit: node_kefu_uniapp project 6 days ago
pages Initial commit: node_kefu_uniapp project 6 days ago
router Initial commit: node_kefu_uniapp project 6 days ago
static Initial commit: node_kefu_uniapp project 6 days ago
types Initial commit: node_kefu_uniapp project 6 days ago
uni_modules Initial commit: node_kefu_uniapp project 6 days ago
.gitignore Initial commit: node_kefu_uniapp project 6 days ago
.hintrc Initial commit: node_kefu_uniapp project 6 days ago
.prettierrc Initial commit: node_kefu_uniapp project 6 days ago
App.vue Initial commit: node_kefu_uniapp project 6 days ago
LICENSE Initial commit: node_kefu_uniapp project 6 days ago
README.md Initial commit: node_kefu_uniapp project 6 days ago
androidPrivacy.json Initial commit: node_kefu_uniapp project 6 days ago
index.html Initial commit: node_kefu_uniapp project 6 days ago
main.ts Initial commit: node_kefu_uniapp project 6 days ago
manifest.json Initial commit: node_kefu_uniapp project 6 days ago
package-lock.json Initial commit: node_kefu_uniapp project 6 days ago
package.json Initial commit: node_kefu_uniapp project 6 days ago
pages.json Initial commit: node_kefu_uniapp project 6 days ago
pnpm-lock.yaml Initial commit: node_kefu_uniapp project 6 days ago
uni.scss Initial commit: node_kefu_uniapp project 6 days ago
vite.config.ts Initial commit: node_kefu_uniapp project 6 days ago

README.md

COOL-UNI 项目脚手架

简介

演示、文档地址

更快

启动快

基于 vite,快速的冷启动,不需要等待打包,即时的热模块更新,真正的按需编译。

开发快

新增 eps 模式,自动扫描接口,代码智能提示。

对接快

有什么功能是前端一个人做不了??大不了全干了

👉👉 管理前端(vue3)开发文档、强大的 CRUD 组件

👉👉 服务端(node、midway)开发文档、一键生成代码

👉👉 演示地址 😁

<img src="https://vue.cool-admin.com/show/admin.jpg" width="500px" />

更强

内置请求、路由、文件上传、组件通信、缓存等方法及 ui 库和 hooks

<script lang="ts" setup>
	import { useCool } from "/@/cool";
	import { useUi } from "/$/cool-ui";

	const { service, router, storage, upload } = useCool();
	const ui = useUi();

	// 请求
	service.test.page().then((res) => {
		consoe.log(res);
	});

	// 跳转
	router.push({
		path: "/pages/goods/info",
		query: {
			id: 1,
		},
	});

	// 全局事件
	ui.showLoading();
	ui.showToast();

	// 储存
	storage.set("token", "a123huis");

	// 文件上传
	uni.chooseImage({
		count: 1,
		sourceType: ["album", "camera"],
		success(res) {
			upload(res.tempFiles[0]).then((url) => {
				console.log(url);
			});
		},
	});
</script>

更全

细腻的代码

  • service 无感刷新,直接调用后端接口

    const { service } = useCool();
    
  • 提供 entity 描述,写 any 和不写的都哭了

    const list = ref<Eps.UserInfoEntity[]>([]);
    

活跃的社区

丰富的插件