# vite-plugin-vue-i18n-fanyi

> Webcomponent expression-visualizer-web-component following open-wc recommendations

Latest version **0.0.8** (published 2023-06-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install vite-plugin-vue-i18n-fanyi
pnpm add vite-plugin-vue-i18n-fanyi
yarn add vite-plugin-vue-i18n-fanyi
bun add vite-plugin-vue-i18n-fanyi
```

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.8 |
| Published | 2023-06-16 |
| First published | 2023-06-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 8.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | leanbrown@live.cn |
| Maintainers | joehecn |
| Keywords | vite plugin, vue, i18n, baidu fanyi |

## Links

- npm: https://www.npmjs.com/package/vite-plugin-vue-i18n-fanyi
- Repository: https://github.com/joehecnteam/vite-plugin-vue-i18n-fanyi
- Homepage: https://github.com/joehecnteam/vite-plugin-vue-i18n-fanyi#readme
- Issues: https://github.com/joehecnteam/vite-plugin-vue-i18n-fanyi/issues
- npm.io page: https://npm.io/package/vite-plugin-vue-i18n-fanyi

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 0.0.8 (latest) — 2023-06-16
- 0.0.4 — 2023-06-14
- 0.0.3 — 2023-06-14
- 0.0.0 — 2023-06-14

## README

# vite-plugin-vue-i18n-fanyi
```bash
# https://medium.com/@blaster203/how-to-create-a-component-library-with-vue-3-vitejs-typescript-8eb41f799045
npm i --save-peer vue vue-i18n

npm i -D @types/node @vitejs/plugin-vue typescript vite vue-tsc
npm i -D vite-plugin-dts rollup-plugin-typescript2

# 手工发包
npm run build
npm config list
npm config get registry

npm config delete registry
npm publish
npm config set registry https://registry.npmmirror.com/


# 自动发包
npm version patch
```


# Vue 3 + TypeScript + Vite

This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.

## Recommended IDE Setup

- [VS Code](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).

## Type Support For `.vue` Imports in TS

TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin) to make the TypeScript language service aware of `.vue` types.

If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a [Take Over Mode](https://github.com/johnsoncodehk/volar/discussions/471#discussioncomment-1361669) that is more performant. You can enable it by the following steps:

1. Disable the built-in TypeScript Extension
   1. Run `Extensions: Show Built-in Extensions` from VSCode's command palette
   2. Find `TypeScript and JavaScript Language Features`, right click and select `Disable (Workspace)`
2. Reload the VSCode window by running `Developer: Reload Window` from the command palette.

---
_Source: https://npm.io/package/vite-plugin-vue-i18n-fanyi · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
