Skip to content

Commit

Permalink
chore: update i18n(zh) (#156)
Browse files Browse the repository at this point in the history
* fix code

* fixed wrong descriptions
  • Loading branch information
flpflan authored Jan 5, 2025
1 parent dfd8a53 commit 24607a0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,21 @@ import { PackageManagerTabs } from "../../../../../src/theme/PackageManagerTabs"

```javascript title="farm.config.ts"
import { defineConfig } from '@farmfe/core';
import Vue from '@vite/plugin-vue'
import Vue from '@vitejs/plugin-vue'

export default defineConfig({
plugins: [Vue()], // vue3 plugin
vitePlugins: [Vue()],
});
```

### 集成 jsx

```javascript title="farm.config.ts"
import { defineConfig } from '@farmfe/core';
import Vue from '@vite/plugin-vue-jsx'
import VueJsx from '@vitejs/plugin-vue-jsx'

export default defineConfig({
plugins: [Vue()],
vitePlugins: [VueJsx()],
});
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ Farm官方提供了很多有用的插件,包括Rust插件和JS插件。 Rust

## Js 插件

* **[`@farmfe/js-plugin-postcss`](./js-postcss)**:支持 React `jsx``react-refresh`
* **[`@farmfe/js-plugin-less`](./js-less)**:支持编译 `sass/scss` 文件。
* **[`@farmfe/js-plugin-svgr`](./js-svgr)**:支持编译`sass/scss`文件。
* **[`@farmfe/js-plugin-dts`](./js-dts)**:支持编译`sass/scss`文件。
* **[`@farmfe/js-plugin-postcss`](./js-postcss)**:支持 `postcss`
* **[`@farmfe/js-plugin-less`](./js-less)**:支持编译 `less` 文件。
* **[`@farmfe/js-plugin-svgr`](./js-svgr)**:支持编译`svg`文件。
* **[`@farmfe/js-plugin-dts`](./js-dts)**:支持编译`*.d.ts`文件。
* **[`@farmfe/js-plugin-sass`](./js-sass)**:支持编译`sass/scss`文件。

## 社区插件
Expand Down

0 comments on commit 24607a0

Please sign in to comment.