Skip to content

Commit

Permalink
docs: update guide
Browse files Browse the repository at this point in the history
  • Loading branch information
felixpy committed Dec 24, 2018
1 parent 41522b6 commit 18b7c7d
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 4 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

A dead simple but powerful vue admin with Vue CLI 3 and ElementUI.

This project is built by a magic vue cli plugin - [@codetrial/vue-cli-plugin-element](https://github.com/codetrial/vue-cli-plugin-element)

:us: English | [:cn: 简体中文](README.zh-CN.md)

## Docs
Expand All @@ -16,11 +18,20 @@ A dead simple but powerful vue admin with Vue CLI 3 and ElementUI.

## Quick Start

### Using Git

```bash
# clone this repository
yarn install
yarn run serve
```

### Using Vue CLI

```bash
vue create --preset codetrial/vue-cli-plugin-element your-project
```

## Core Features

- :camera: Minimal dependencies
Expand Down
11 changes: 11 additions & 0 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

一个简约而不简单的基于 Vue CLI 3 和 ElementUI 的中后台管理系统。

此项目由一个不可思议的 vue cli 插件构建 - [@codetrial/vue-cli-plugin-element](https://github.com/codetrial/vue-cli-plugin-element)

:cn: 简体中文 | [:us: English](README.md)

## 文档
Expand All @@ -16,11 +18,20 @@

## 快速开始

### 使用 Git

```bash
# 克隆这个仓库
yarn install
yarn run serve
```

### 使用 Vue CLI

```bash
vue create --preset codetrial/vue-cli-plugin-element your-project
```

## 核心功能

:camera: **最小依赖**:仅依赖 Vue 官方库及 ElementUI 组件库,未额外引入其它第三方库,为你提供自由发挥的空间。
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "element-admin",
"version": "1.0.0",
"version": "1.0.1",
"description": "A dead simple but powerful vue admin with Vue CLI 3 and ElementUI.",
"keywords": [
"vue",
Expand Down
6 changes: 3 additions & 3 deletions src/views/example/Table.vue
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
<a target="_blank" :href="scope.row.url">{{ scope.row.name }}</a>
</template>
</el-table-column>
<el-table-column prop="typeText" label="类型" min-width="120"></el-table-column>
<el-table-column prop="typeText" label="类型" min-width="80"></el-table-column>
<el-table-column
prop="statusText"
label="状态 (可筛选)"
Expand All @@ -76,8 +76,8 @@
></el-table-column>
<el-table-column prop="updateUser" label="更新用户 ID" min-width="120"></el-table-column>
<el-table-column prop="updateUserName" label="更新用户" min-width="120"></el-table-column>
<el-table-column prop="updateTime" label="更新时间" min-width="240"></el-table-column>
<el-table-column label="操作" min-width="100">
<el-table-column prop="updateTime" label="更新时间" min-width="200"></el-table-column>
<el-table-column label="操作" min-width="80">
<template slot-scope="scope">
<el-button type="text" size="small" @click="showExample(scope.row)">查看</el-button>
</template>
Expand Down

0 comments on commit 18b7c7d

Please sign in to comment.