Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
103 commits
Select commit Hold shift + click to select a range
4d3e875
feat:封装npm准备
lmislm Apr 2, 2020
48b8f03
feat:修改打包
lmislm Apr 2, 2020
9e652d0
feat:尝试打包npm
lmislm Apr 2, 2020
8a75172
feat: 新增发布打包细节
lmislm Apr 2, 2020
75f87d3
Merge branch 'dev' into test
lmislm Apr 11, 2020
20727e6
feat:新增打包发布配置
lmislm Apr 11, 2020
db4646c
Merge branch 'dev' into test
lmislm Apr 11, 2020
e9ef753
Merge branch 'dev' into test
lmislm Apr 11, 2020
3478892
Merge branch 'dev' into test
lmislm Apr 11, 2020
68d83c9
doc: 增加示例
lmislm Apr 11, 2020
f9c2183
Merge branch 'dev' into test
Apr 14, 2020
2181326
Merge branch 'dev' into test
Apr 16, 2020
5f1a106
fix: 修复合并冲突错误
Apr 16, 2020
7448100
0.2.4
Apr 16, 2020
9820a14
0.3.0
Apr 16, 2020
b9cb4bb
test: 新增yi-table-icon
Apr 16, 2020
cd6c43b
0.3.1
Apr 16, 2020
68b08b0
test:测试yi-table-icon
Apr 16, 2020
1eb9601
0.3.2
Apr 16, 2020
7afaa7b
fix: 修复test环境中打包svg错误
Apr 16, 2020
f610688
0.3.3
Apr 16, 2020
50bc094
Merge branch 'dev' into test
Apr 16, 2020
63a5ec5
0.3.4
Apr 16, 2020
c4b9912
test: 测试rowCell
Apr 16, 2020
63916ab
0.3.5
Apr 16, 2020
0dcef6d
test: 测试rowCell文件
Apr 16, 2020
d04701c
0.3.6
Apr 16, 2020
5785a01
test: 测试rowCell
Apr 16, 2020
d98216b
0.3.7
Apr 16, 2020
37cc7a3
Merge branch 'dev' into test
Apr 16, 2020
6263939
0.3.8
Apr 16, 2020
fd980d0
perf: 修改install配置
Apr 16, 2020
81d938a
0.3.9
Apr 16, 2020
5111a24
feat: 新增忽略文件
Apr 16, 2020
676eae0
fix: 修复install组件设置
Apr 16, 2020
72a22fc
0.3.10
Apr 16, 2020
b544acc
fix: 修复组件install
Apr 16, 2020
dfddda8
feat: 优化install配置
Apr 16, 2020
87d97d0
0.3.11
Apr 16, 2020
3d11aa0
perf: 修改导出的组件
Apr 16, 2020
6afe47e
0.3.12
Apr 16, 2020
32ef138
Merge branch 'dev' into test
Apr 16, 2020
a5cb531
0.3.13
Apr 16, 2020
c201a21
Merge branch 'dev' into test
Apr 16, 2020
6b3362f
0.3.14
Apr 16, 2020
547a7b0
chore: 优化install
Apr 16, 2020
72de622
docs: 更新文档
Apr 16, 2020
d4ae6bc
chore: 修复打包问题
lmislm Apr 17, 2020
aa0e97f
0.3.15
lmislm Apr 17, 2020
9d89e46
0.3.16
lmislm Apr 17, 2020
20cd918
Merge branch 'dev' into test
lmislm Apr 17, 2020
b33949f
0.3.17
lmislm Apr 17, 2020
06616d8
0.3.18
lmislm Apr 17, 2020
5a7e718
Merge branch 'dev' into test
lmislm Apr 17, 2020
adf37be
chore: 更新打包配置
lmislm Apr 17, 2020
eda4922
0.3.19
lmislm Apr 17, 2020
9396459
chore: 测试打包问题
lmislm Apr 17, 2020
29df1d9
0.3.20
lmislm Apr 17, 2020
1d2f514
Merge branch 'dev' into test
lmislm Apr 17, 2020
fe15348
chore:更新打包
lmislm Apr 17, 2020
2d65d8d
0.3.21
lmislm Apr 17, 2020
3a39673
chore: 更新打包问题,尝试
lmislm Apr 17, 2020
21e80af
0.3.22
lmislm Apr 17, 2020
bebe393
Merge branch 'dev' into test
lmislm Apr 17, 2020
6ddfa00
0.4.0
lmislm Apr 17, 2020
ca42a5d
chore: 调试icon引入问题
lmislm Apr 17, 2020
8a28a0c
0.4.1
lmislm Apr 17, 2020
9cdec65
chore: 测试打包
lmislm Apr 17, 2020
7b052dc
0.4.2
lmislm Apr 17, 2020
44f5483
chore: 测试去除vue实例配置
lmislm Apr 19, 2020
2ead808
0.4.3
lmislm Apr 19, 2020
34e2101
chore: 测试vue多实例问题
lmislm Apr 19, 2020
f995f53
0.4.4
lmislm Apr 19, 2020
f46c5c1
chore: 测试vue引入实例
lmislm Apr 19, 2020
df36c58
0.4.5
lmislm Apr 19, 2020
4ce7d6c
Merge branch 'dev' into test
lmislm Apr 19, 2020
3b8448e
0.4.6
lmislm Apr 19, 2020
d7bc11a
feat: 表格内容超出高度,设置scroll,取消hidden,后期可能设置专有的scroll-bar
lmislm Apr 19, 2020
f56547e
0.4.7
lmislm Apr 19, 2020
5ca47a5
feat: 去除不需要的依赖包
lmislm Apr 19, 2020
31f84fc
0.4.8
lmislm Apr 19, 2020
ae071b1
0.4.9
lmislm Apr 19, 2020
41623ad
Merge branch 'dev' into test
lmislm Apr 19, 2020
bd61afe
0.4.10
lmislm Apr 19, 2020
6d8a5d0
Merge branch 'dev' into test
lmislm Apr 19, 2020
610e587
0.4.11
lmislm Apr 19, 2020
f5fedbf
Merge branch 'dev' into test
Apr 24, 2020
f504f59
0.5.0
Apr 24, 2020
f704507
Merge branch 'dev' into test
Apr 24, 2020
061db04
0.5.1
Apr 24, 2020
20ceeca
Merge branch 'dev' into test
Apr 24, 2020
a4f1e48
0.5.2
Apr 24, 2020
69cb430
Merge branch 'dev' into test
Apr 24, 2020
c61a648
0.5.3
Apr 24, 2020
a3007b1
Merge branch 'dev' into test
Apr 24, 2020
32da5f6
0.5.4
Apr 24, 2020
fd753d8
Merge branch 'dev' into test
Apr 24, 2020
a63c2e2
Merge branch 'dev' into test
lmislm May 17, 2020
61b08ba
0.6.0
lmislm May 17, 2020
d2c7b06
Merge branch 'dev' into test
lmislm May 17, 2020
747fa03
0.6.1
lmislm May 17, 2020
ce01dc1
chore: update info
lmislm Nov 1, 2020
a0d5009
0.6.9
Feb 20, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
node_modules
/dist

examples/
packages/
public/
vue.config.js
babel.config.js

# local env files
.env.local
.env.*.local
Expand Down
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
```sh
$ npm i yi-table -S
```

Next, you must register the component. The most common use case is to do that globally.

```js
Expand Down Expand Up @@ -47,6 +48,16 @@ example
- [x] `多选框样式统一成element-ui样式`
- [ ] `scroll滚动条样式固定`

## Example

```sh
$ cd /yi-table
$ git checkout dev
$ npm i
$ npm start
```


## <span id="git-commit">Git Commit Guidelines</span> [↑Top](#top)

### Type
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 9 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "yi-table",
"version": "0.4.8",
"version": "0.6.9",
"description": "表格组件",
"jsnext:main": "src/index.js",
"main": "lib/yi-table.umd.min.js",
Expand All @@ -10,13 +10,19 @@
"vuejs",
"vue",
"table",
"Table"
"Table",
"element-ui",
"elementUi",
"element"
],
"author": "lmislm",
"license": "MIT",
"repository": {
"type": "git",
"url": ""
"url": "git+https://github.com/lmislm/YiTable.git"
},
"bugs": {
"url": "https://github.com/lmislm/YiTable/issues"
},
"scripts": {
"serve": "vue-cli-service serve",
Expand Down
16 changes: 0 additions & 16 deletions src/components/ColumnExample.vue

This file was deleted.

233 changes: 0 additions & 233 deletions src/components/Example.vue

This file was deleted.

1 change: 1 addition & 0 deletions src/components/Table.vue
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,7 @@ $--scrollbar-hover-background-color: rgba($--color-text-secondary, 0.5);

.yi-table {
position: relative;
overflow-y: auto;
box-sizing: border-box;
width: 100%;
max-width: 100%;
Expand Down
23 changes: 12 additions & 11 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
import Vue from 'vue'

import YiTable from './components/Table'
import YiColumn from './components/TableColumn'

import ColumnMixin from './components/column-mixin'
import './icon/index'
import Example from './components/Example'
import YiTableIcon from '@/components/YiTableIcon'

if (process.env.NODE_ENV !== 'production') {
new Vue({
render: (h) => h(Example),
}).$mount('#app')
}
const req = require.context('./icon/svg')
const requireAll = requireContext => requireContext.keys().map(requireContext)
requireAll(req)

export { YiTable, YiColumn, ColumnMixin }
export default {
install(Vue) {
Vue.component('yi-table', YiTable)
Vue.component('yi-table-column', YiColumn)
Vue.component('yi-table-icon', YiTableIcon)
}
}
export {YiTable, YiColumn, ColumnMixin, YiTableIcon}
15 changes: 9 additions & 6 deletions vue.config.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
const port = 8100 // dev port
const path = require('path')

const port = 8100 // dev port

function resolve(dir) {
return path.join(__dirname, dir)
}
module.exports = {
productionSourceMap: false,
publicPath: '/dist/',
productionSourceMap:false,
css: {
extract: false,
},
extract: false
},
outputDir: path.resolve(__dirname, './dist'),
devServer: {
port: port,
open: true,
Expand All @@ -21,11 +24,11 @@ module.exports = {
configureWebpack: {
resolve: {
alias: {
'@': resolve('src')
'@': resolve('src'),
'vue$': 'vue/dist/vue.runtime.esm.js'
}
},
externals: {
Vue: 'vue',
vue: 'Vue'
}
},
Expand Down