1.0.6 • Published 10 months ago

kklo-react-ts-template v1.0.6

Weekly downloads
-
License
-
Repository
github
Last release
10 months ago

Installation

Install the package globally:

npm install -g kklo-react-ts-template

Usage

npx init-project my-project

It will create a new project with the following structure:

my-project
├── src
│   ├── assets
│   │   └── ...
│   ├── components
│   │   ├── layout
│   │   │   └── DashboardLayout.tsx
│   │   └── pages
│   │       └── ErrorPage.tsx
│   ├── configs
│   │   ├── api.ts
│   │   ├── queryKeys.ts
│   │   └── routes.ts
│   ├── hooks
│   │   └── useParamHelper.ts
│   ├── pages
│   │   └── ...
│   ├── services
│   │   └── user.service.ts
│   ├── stores
│   │   └── ...
│   └── types.d.ts
├── tsconfig.app.json
├── tsconfig.node.json
└── vite.config.ts

And will install the following packages:

  • axios
  • react-router-dom
  • @tanstack/react-query
  • @types/node

Run the following command:

cd my-project
npm run dev

Open http://localhost:3000 in your browser.

License

MIT

1.0.6

10 months ago

1.0.5

10 months ago

1.0.4

10 months ago

1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago