Skip to content

Commit fe05bdf

Browse files
committed
refactor: 修改 包名
1 parent c55e60e commit fe05bdf

File tree

3 files changed

+13
-6
lines changed

3 files changed

+13
-6
lines changed

README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,23 @@
11
# vue-layui
22
这是一个基于vue的ui框架,引用了layui的样式(逻辑重新编写,非jquery)
3+
注意:本框架用于学习,不适用于生产。
4+
注意:本框架用于学习,不适用于生产。
5+
注意:本框架用于学习,不适用于生产。
36

47
点击预览: [文档和演示](http://vue-layui.jskou.com)
58

69
基于 [layui](https://github.com/sentsin/layui/) 2.4.0版本
710

11+
12+
# 注意事项
13+
本版本不能运行 详情请见 [layui-lay](https://www.npmjs.com/package/vue-lay)
14+
815
### Install
9-
npm i vue-lay -S
16+
npm i vue-layui -S
1017

1118
### Quick Start
12-
import layui from 'vue-lay'
13-
import 'vue-lay/lib/vue-lay.css'
19+
import layui from 'vue-layui'
20+
import 'vue-lay/lib/vue-layui.css'
1421

1522
Vue.use(layui)
1623

build/webpack.build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module.exports = {
99
output: {
1010
filename: 'vue-lay.common.js',
1111
path: path.resolve(__dirname, '../lib'),
12-
chunkFilename: 'vue-lay.common.js',
12+
chunkFilename: 'vue-layui.common.js',
1313
publicPath: '/'
1414
},
1515
devServer: {

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-layui",
3-
"version": "0.0.1-alpha.0",
3+
"version": "1.0.0",
44
"private": false,
55
"author": "kouchao",
66
"scripts": {
@@ -61,7 +61,7 @@
6161
"vue layui"
6262
],
6363
"license": "MIT",
64-
"main": "lib/vue-lay.common.js",
64+
"main": "lib/vue-layui.common.js",
6565
"repository": {
6666
"type": "git",
6767
"url": "git+https://github.com/kouchao/vue-layui.git"

0 commit comments

Comments
 (0)