From a7ebca890d90535807e49b7bde083d31821d1a89 Mon Sep 17 00:00:00 2001 From: bunny <1319900154@qq.com> Date: Fri, 22 Dec 2023 22:48:42 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=96=87=E6=A1=A3:=20=F0=9F=93=9A=20?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0v1.0.0=E8=A7=A3=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/utils.js | 1 + package.json | 2 +- readme.md | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 57 insertions(+), 1 deletion(-) create mode 100644 readme.md diff --git a/bin/utils.js b/bin/utils.js index f857c52..fe72aeb 100644 --- a/bin/utils.js +++ b/bin/utils.js @@ -30,6 +30,7 @@ module.exports = { return false; } } + return true; }, /** diff --git a/package.json b/package.json index 28e9446..65e313f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bunny-cli", - "version": "1.0.0", + "version": "1.0.1", "description": "", "main": "index.js", "bin": { diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..b532aa1 --- /dev/null +++ b/readme.md @@ -0,0 +1,55 @@ +# v1.0.0 + +已自动去除CSS默认样式,和一些自带图片,默认安装`husky` + +包含vue和react + +## vue + +包含路由,可以选择`vuex`和`pinia` + +## ract + +react默认安装`@reduxjs/toolkit`,在环境中已经搭建 + +react可以选择是否有路由,有`useRoutes`和`RouterProvider ` + +### useRoutes + +```tsx +import React, { Suspense } from 'react'; +import { useRoutes } from 'react-router-dom'; +import routes from './router'; + +function App() { + return ( +