# friday-ui

> ts报错：cannot find moduels '.vue'

Latest version **0.0.1** (published 2022-07-31) · 0 weekly downloads

## Install

```sh
npm install friday-ui
pnpm add friday-ui
yarn add friday-ui
bun add friday-ui
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2022-07-31 |
| First published | 2022-07-31 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 5 |
| Unpacked size | 13.8 KB |
| Known vulnerabilities | 0 (+8 in 2 direct dependencies) |
| Install scripts | no |
| Maintainers | deibo |

## Links

- npm: https://www.npmjs.com/package/friday-ui
- npm.io page: https://npm.io/package/friday-ui

## Dependencies (5)

- [vue](https://npm.io/package/vue.md) 3.0.0
- [marked](https://npm.io/package/marked.md) 1.1.1
- [prismjs](https://npm.io/package/prismjs.md) 1.21.0
- [vue-router](https://npm.io/package/vue-router.md) 4.0.0-beta.3
- [github-markdown-css](https://npm.io/package/github-markdown-css.md) 4.0.0

## Recent versions

- 0.0.1 (latest) — 2022-07-31

## README

ts报错：cannot find moduels '.vue'

```
// shims.vue.d.ts
declare module '*.vue' {
    import { ComponentOptions } from "vue"
    const componentOptions:ComponentOptions
    export default componentOptions
}
```

使用`provide`和`inject`实现父组件和自己拿的变量通信
```
// 父组件
const menuVisible = ref(false)
provide('menuVisible', menuVisible)
// 子组件
const menuVisible = inject<Ref<boolean>>('menuVisible') 
```

```
React.foreach
```

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