# ice-midway-template

> Docs：[Midway Hooks - Getting Started](https://www.yuque.com/midwayjs/midway_v2/hooks_intro?translate=en)

Latest version **1.0.1** (published 2021-10-15) · 0 weekly downloads

## Install

```sh
npm install ice-midway-template
pnpm add ice-midway-template
yarn add ice-midway-template
bun add ice-midway-template
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2021-10-15 |
| First published | 2021-10-15 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 7 |
| Unpacked size | 19.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | clarkxia |

## Links

- npm: https://www.npmjs.com/package/ice-midway-template
- npm.io page: https://npm.io/package/ice-midway-template

## Dependencies (7)

- [icejs](https://npm.io/package/icejs.md) 0.0.1
- [react](https://npm.io/package/react.md) ^17.0.0
- [react-dom](https://npm.io/package/react-dom.md) ^17.0.0
- [@alifd/next](https://npm.io/package/@alifd/next.md) ^1.0.0
- [@ice/server](https://npm.io/package/@ice/server.md) ^0.1.0-2
- [@midwayjs/faas](https://npm.io/package/@midwayjs/faas.md) ^2.11.0
- [@midwayjs/hooks](https://npm.io/package/@midwayjs/hooks.md) ^2.2.2

## Recent versions

- 1.0.1 (latest) — 2021-10-15
- 1.0.0 — 2021-10-15

## README

## Getting Started

Docs：[Midway Hooks - Getting Started](https://www.yuque.com/midwayjs/midway_v2/hooks_intro?translate=en)

### Directory Structure

```
.
├── bootstrap.js //
├── jest.config.js // Unit test file
├── midway.config.ts // config file for setup directory and middleware
├── src
│   ├── apis // Backend directory
│   │   ├── configuration.ts // Midway Hooks configuration
│   │   └── lambda // Api directory(Can be modified in midway.config.ts)
│   │       ├── index.test.ts // Api test file
│   │       └── index.ts // Api file
│   └── main.ts // Frontend framework file
├── tsconfig.json
└── vite.config.ts
```

### Commands

#### Start Dev Server

```bash
$ npm start
```

#### Build

```bash
$ npm run build
```

### Deploy to serverless

```bash
$ npm run deploy
```

---
_Source: https://npm.io/package/ice-midway-template · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
