-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(site): optimize sidebar scroll
- Loading branch information
Showing
7 changed files
with
170 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
<div align="center"> | ||
<a href="https://artsdt.github.io/meve/"> | ||
<img src="https://artsdt.github.io/meve/logo_1.svg" width="150"> | ||
</a> | ||
<h1>MEVE UI</h1> | ||
<p>Vue2 UI Lib Referenced Argon Design System</p> | ||
<p> | ||
<a href="https://artsdt.github.io/meve/">Documentation</a> | ||
</p> | ||
</div> | ||
|
||
--- | ||
|
||
### Quickstart | ||
|
||
#### CDN | ||
|
||
```html | ||
<div id="app"></div> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@meve/ui/umd/meve.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@meve/touch-emulator/iife.js"></script> | ||
<script> | ||
Vue.use(Meve) | ||
new Vue({ | ||
template: '<m-button>Meve</m-button>' | ||
}).$mount('#app') | ||
</script> | ||
``` | ||
|
||
#### Webpack / Vite | ||
|
||
```shell | ||
# Install with npm or yarn or pnpm | ||
|
||
# npm | ||
npm i @meve/ui @meve/touch-emulator -S | ||
|
||
# yarn | ||
yarn add @meve/ui @meve/touch-emulator | ||
|
||
# pnpm | ||
pnpm add @meve/ui @meve/touch-emulator | ||
``` | ||
|
||
```js | ||
import Vue from 'vue' | ||
import App from './App.vue' | ||
import Meve from '@meve/ui' | ||
import '@meve/ui/es/style.js' | ||
import '@meve/touch-emulator' | ||
|
||
Vue.use(Meve) | ||
|
||
new Vue({ | ||
render: (h) => h(App) | ||
}).$mount('#app') | ||
``` | ||
|
||
### Repo Status WIP! | ||
|
||
Currently in development, do not use in production environment. | ||
|
||
Documentation currently only supports Chinese |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,15 +3,31 @@ | |
<img src="https://artsdt.github.io/meve/logo_1.svg" width="150"> | ||
</a> | ||
<h1>MEVE UI</h1> | ||
<p>Vue2 UI Lib Referenced Argon Design System</p> | ||
<p>基于Vue2的 Argon Design 风格组件库</p> | ||
<p> | ||
<a href="https://artsdt.github.io/meve/">Documentation</a> | ||
<a href="https://artsdt.github.io/meve/">文档站点</a> | ||
</p> | ||
</div> | ||
|
||
--- | ||
|
||
### Quick Start | ||
### 快速开始 | ||
|
||
#### CDN | ||
|
||
```html | ||
<div id="app"></div> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@meve/ui/umd/meve.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@meve/touch-emulator/iife.js"></script> | ||
<script> | ||
Vue.use(Meve) | ||
new Vue({ | ||
template: '<m-button>Meve</m-button>' | ||
}).$mount('#app') | ||
</script> | ||
``` | ||
|
||
#### Webpack / Vite | ||
|
||
|
@@ -42,8 +58,6 @@ new Vue({ | |
}).$mount('#app') | ||
``` | ||
|
||
### Repo Status WIP! | ||
|
||
Currently in development, do not use in production environment. | ||
### 仓库当前处于开发阶段! | ||
|
||
Documentation currently only supports Chinese | ||
当前处于开发阶段, 暂不推荐在生产环境中使用. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,5 @@ | ||
# 基本介绍 | ||
|
||
### 介绍 | ||
|
||
编个故事... | ||
|
||
### 特性 | ||
|
||
聊点故事... | ||
|
||
### 设计系统 | ||
|
||
强行分析... | ||
|
||
### 社区/贡献 | ||
|
||
找点观众... | ||
<div class="meve-site-introduce"> | ||
<img src="https://artsdt.github.io/meve/logo_1.svg" width="165"> | ||
<h1>MEVE UI</h1> | ||
<p>基于Vue2的 Argon Design 风格组件库</p> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# 快速开始 | ||
|
||
### CDN | ||
|
||
单页面使用CDN的方式使用组件库 | ||
|
||
```html | ||
<div id="app"></div> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@meve/ui/umd/meve.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@meve/touch-emulator/iife.js"></script> | ||
<script> | ||
Vue.use(Meve) | ||
new Vue({ | ||
template: '<m-button>Meve</m-button>' | ||
}).$mount('#app') | ||
</script> | ||
``` | ||
|
||
### Webpack / Vite | ||
|
||
在构建工具中使用组件库,支持`Webpack`和`Vite` | ||
|
||
```shell | ||
# Install with npm or yarn or pnpm | ||
|
||
# npm | ||
npm i @meve/ui @meve/touch-emulator -S | ||
|
||
# yarn | ||
yarn add @meve/ui @meve/touch-emulator | ||
|
||
# pnpm | ||
pnpm add @meve/ui @meve/touch-emulator | ||
``` | ||
|
||
```js | ||
import Vue from 'vue' | ||
import App from './App.vue' | ||
import Meve from '@meve/ui' | ||
import '@meve/ui/es/style.js' | ||
import '@meve/touch-emulator' | ||
|
||
Vue.use(Meve) | ||
|
||
new Vue({ | ||
render: (h) => h(App) | ||
}).$mount('#app') | ||
``` | ||
|
||
### 仓库当前处于开发阶段! | ||
|
||
当前处于开发阶段, 暂不推荐在生产环境中使用. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters