mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-04-12 14:40:47 +08:00
chore: fix cases for GitHub and TypeScript (#28)
This commit is contained in:
parent
358be3a491
commit
f50afd97bd
@ -4,7 +4,7 @@
|
||||
|
||||
<h1 align="center">Naive UI</h1>
|
||||
<p align="center">A Vue 3 Component Library</p>
|
||||
<p align="center"><b>Fairly Complete, Customizable Themes, Uses Typescript, Not too Slow</b></p>
|
||||
<p align="center"><b>Fairly Complete, Customizable Themes, Uses TypeScript, Not too Slow</b></p>
|
||||
<p align="center">Kinda Interesting</p>
|
||||
|
||||
<p align="center">English | <a href="README.zh-CN.md">中文</a></p>
|
||||
@ -23,13 +23,13 @@ What's more, they are all treeshakable.
|
||||
|
||||
### Customizable Themes
|
||||
|
||||
We provide an advanced type safe theme system that built Uses Typescript. All you need is to provide a theme overrides object in JS. Then all the staff is done by us.
|
||||
We provide an advanced type safe theme system that built Uses TypeScript. All you need is to provide a theme overrides object in JS. Then all the staff is done by us.
|
||||
|
||||
What's more, no less/sass/css variables, no webpack loaders are required.
|
||||
|
||||
### Uses Typescript
|
||||
### Uses TypeScript
|
||||
|
||||
All the staff in Naive UI is wrote in Typescript. It can work with your typescript project seamlessly.
|
||||
All the staff in Naive UI is wrote in TypeScript. It can work with your typescript project seamlessly.
|
||||
|
||||
What's more, you don't need to import any CSS to use the components.
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
<h1 align="center">Naive UI</h1>
|
||||
<p align="center">一个 Vue 3 组件库</p>
|
||||
<p align="center"><b>比较完整,主题可调,使用 Typescript,不算太慢</b></p>
|
||||
<p align="center"><b>比较完整,主题可调,使用 TypeScript,不算太慢</b></p>
|
||||
<p align="center">有点意思</p>
|
||||
|
||||
<p align="center"><a href="README.md">English</a> | 中文</p>
|
||||
@ -23,13 +23,13 @@
|
||||
|
||||
### 主题可调
|
||||
|
||||
我们提供了一个使用 Typescript 构建的先进的类型安全主题系统。你只需要提供一个样式覆盖的对象,剩下的都交给我们。
|
||||
我们提供了一个使用 TypeScript 构建的先进的类型安全主题系统。你只需要提供一个样式覆盖的对象,剩下的都交给我们。
|
||||
|
||||
顺便一提,不用 less、sass、css 变量,也不用 webpack 的 loaders。以及你可以试试右下角的主题编辑器。
|
||||
|
||||
### 使用 Typescript
|
||||
### 使用 TypeScript
|
||||
|
||||
Naive UI 全量使用 Typescript 编写,和你的 Typescript 项目无缝衔接。
|
||||
Naive UI 全量使用 TypeScript 编写,和你的 TypeScript 项目无缝衔接。
|
||||
|
||||
顺便一提,你不需要导入任何 CSS 就能让组件正常工作。
|
||||
|
||||
|
@ -51,7 +51,7 @@
|
||||
{{ themeLabelMap[theme] }}
|
||||
</n-button>
|
||||
<n-button tag="a" text class="nav-picker" :href="repoUrl" target="_blank">
|
||||
Github
|
||||
GitHub
|
||||
</n-button>
|
||||
<n-text class="nav-picker">
|
||||
{{ version }}
|
||||
@ -220,7 +220,7 @@ export default {
|
||||
},
|
||||
{
|
||||
key: 'github',
|
||||
title: 'Github'
|
||||
title: 'GitHub'
|
||||
}
|
||||
]
|
||||
})
|
||||
|
@ -2,4 +2,4 @@
|
||||
|
||||
Currently there is no content.
|
||||
|
||||
If you have any problem, feel free to create a PR or issue on Github.
|
||||
If you have any problem, feel free to create a PR or issue on GitHub.
|
||||
|
@ -2,4 +2,4 @@
|
||||
|
||||
暂时还没有内容。
|
||||
|
||||
如果你发现任何问题,欢迎在 Github 上提交 issue 和 PR。
|
||||
如果你发现任何问题,欢迎在 GitHub 上提交 issue 和 PR。
|
||||
|
@ -20,9 +20,9 @@ We provide an advanced type safe theme system that built with typescript. All yo
|
||||
|
||||
What's more, no less/sass/css variables, no webpack loaders are required. And you can try the theme editor on the bottom right of the page.
|
||||
|
||||
## Uses Typescript
|
||||
## Uses TypeScript
|
||||
|
||||
All the staff in Naive UI is wrote in Typescript. It can work with your typescript project seamlessly.
|
||||
All the staff in Naive UI is wrote in TypeScript. It can work with your typescript project seamlessly.
|
||||
|
||||
What's more, you don't need to import any CSS to use the components.
|
||||
|
||||
|
@ -6,7 +6,7 @@ Naive UI 是一个 Vue3 的组件库。
|
||||
|
||||
要了解如何安装,参见[安装](installation)。
|
||||
|
||||
它比较完整,主题可调,用 Typescript 写的,不算太慢。
|
||||
它比较完整,主题可调,用 TypeScript 写的,不算太慢。
|
||||
|
||||
## 比较完整
|
||||
|
||||
@ -16,13 +16,13 @@ Naive UI 是一个 Vue3 的组件库。
|
||||
|
||||
## 主题可调
|
||||
|
||||
我们提供了一个使用 Typescript 构建的先进的类型安全主题系统。你只需要提供一个样式覆盖的对象,剩下的都交给我们。
|
||||
我们提供了一个使用 TypeScript 构建的先进的类型安全主题系统。你只需要提供一个样式覆盖的对象,剩下的都交给我们。
|
||||
|
||||
顺便一提,不用 less、sass、css 变量,也不用 webpack 的 loaders。以及你可以试试右下角的主题编辑器。
|
||||
|
||||
## 使用 Typescript
|
||||
## 使用 TypeScript
|
||||
|
||||
Naive UI 全量使用 Typescript 编写,和你的 Typescript 项目无缝衔接。
|
||||
Naive UI 全量使用 TypeScript 编写,和你的 TypeScript 项目无缝衔接。
|
||||
|
||||
顺便一提,你不需要导入任何 CSS 就能让组件正常工作。
|
||||
|
||||
|
@ -34,7 +34,7 @@
|
||||
<div class="footer-links-col">
|
||||
<n-text depth="1" class="col-header">{{ t('community') }}</n-text>
|
||||
<n-button text tag="a" target="_blank" :href="repoUrl">
|
||||
Github
|
||||
GitHub
|
||||
</n-button>
|
||||
<n-button
|
||||
text
|
||||
|
@ -86,7 +86,7 @@ export default {
|
||||
'zh-CN': {
|
||||
start: '开始使用',
|
||||
intro1: '一个 Vue 3 组件库',
|
||||
intro2: '比较完整,主题可调,使用 Typescript,不算太慢',
|
||||
intro2: '比较完整,主题可调,使用 TypeScript,不算太慢',
|
||||
intro3: '有点意思',
|
||||
intro4: '换个主题'
|
||||
},
|
||||
@ -94,7 +94,7 @@ export default {
|
||||
start: 'Get Started',
|
||||
intro1: 'A Vue 3 Component Library',
|
||||
intro2:
|
||||
'Fairly Complete, Customizable Themes, Uses Typescript, Not Too Slow',
|
||||
'Fairly Complete, Customizable Themes, Uses TypeScript, Not Too Slow',
|
||||
intro3: 'Kinda Interesting',
|
||||
intro4: 'Change Theme'
|
||||
}
|
||||
|
@ -142,7 +142,7 @@ export default {
|
||||
'zh-CN': {
|
||||
show: '显示代码',
|
||||
hide: '收起代码',
|
||||
editOnGithub: '在 Github 中编辑',
|
||||
editOnGithub: '在 GitHub 中编辑',
|
||||
editInCodeSandbox: '在 CodeSandbox 中编辑',
|
||||
copyCode: '复制代码',
|
||||
copySuccess: '复制成功'
|
||||
@ -150,7 +150,7 @@ export default {
|
||||
'en-US': {
|
||||
show: 'Show Code',
|
||||
hide: 'Hide Code',
|
||||
editOnGithub: 'Edit on Github',
|
||||
editOnGithub: 'Edit on GitHub',
|
||||
editInCodeSandbox: 'Edit in CodeSandbox',
|
||||
copyCode: 'Copy Code',
|
||||
copySuccess: 'Successfully Copied'
|
||||
|
@ -39,10 +39,10 @@ export default {
|
||||
return {
|
||||
...i18n({
|
||||
'zh-CN': {
|
||||
editOnGithub: '在 Github 上编辑'
|
||||
editOnGithub: '在 GitHub 上编辑'
|
||||
},
|
||||
'en-US': {
|
||||
editOnGithub: 'Edit on Github'
|
||||
editOnGithub: 'Edit on GitHub'
|
||||
}
|
||||
})
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "naive-ui",
|
||||
"version": "2.11.4",
|
||||
"description": "A Vue 3 Component Library. Fairly Complete, Customizable Themes, Uses Typescript, Not Too Slow",
|
||||
"description": "A Vue 3 Component Library. Fairly Complete, Customizable Themes, Uses TypeScript, Not Too Slow",
|
||||
"main": "lib/index.js",
|
||||
"module": "es/index.js",
|
||||
"scripts": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user