Skip to content

Commit b51c41a

Browse files
committed
1 parent 4599ddc commit b51c41a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+12261
-4179
lines changed

.babelrc

-14
This file was deleted.

.browserslistrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
> 1%
2+
last 2 versions
3+
not ie <= 8

.editorconfig

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
root = true
2-
3-
[*]
4-
charset = utf-8
1+
[*.{js,jsx,ts,tsx,vue}]
52
indent_style = space
63
indent_size = 2
7-
end_of_line = lf
8-
insert_final_newline = true
94
trim_trailing_whitespace = true
5+
insert_final_newline = true

.eslintrc.js

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
module.exports = {
2+
root: true,
3+
env: {
4+
node: true
5+
},
6+
'extends': [
7+
'plugin:vue/essential',
8+
'@vue/standard'
9+
],
10+
rules: {
11+
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
12+
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
13+
},
14+
parserOptions: {
15+
parser: 'babel-eslint'
16+
}
17+
}

.gitignore

+19-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
.DS_Store
2-
node_modules/
3-
dist/
4-
npm-debug.log
5-
yarn-error.log
2+
node_modules
3+
4+
# local env files
5+
.env.local
6+
.env.*.local
7+
8+
# Log files
9+
npm-debug.log*
10+
yarn-debug.log*
11+
yarn-error.log*
12+
13+
# Editor directories and files
14+
.idea
15+
.vscode
16+
*.suo
17+
*.ntvs*
18+
*.njsproj
19+
*.sln
20+
*.sw*

.postcssrc.js

-8
This file was deleted.

README.md

+22-115
Original file line numberDiff line numberDiff line change
@@ -1,122 +1,29 @@
1-
# canvas-vue
2-
3-
>又一个Vue+Cnavas酷炫的后台管理,依然前后端分离。
4-
5-
**项目地址:** https://github.com/hzzly/canvas-vue
6-
7-
**demo地址:** http://hjingren.cn/curriculum-design/
8-
9-
欢迎大家的star啦~
10-
11-
(服务器被勒索病毒破坏,后台数据也被破坏,暂时预览不了了,抱歉,可以把本项目和[后台项目](https://github.com/hzzly/canvas-vue-backstage)clone下面运行)
12-
13-
### **技术栈**
14-
前台:
15-
> vue-cli
16-
> vue
17-
> vue-router
18-
> webpak
19-
> canvas
20-
> ajax
21-
22-
后台:
23-
> wamp
24-
> PHP(ThinkPHP)
25-
> mysql
26-
27-
### **功能说明**
28-
* 登录
29-
* 用户登录
30-
* 管理员登录
31-
* 注册
32-
* 用户注册
33-
* Canvas
34-
* 流星滑过
35-
* 星星闪闪
36-
* 后台折线
37-
* 折线跟着鼠标滑动
38-
* Vue
39-
* 弹出框组件
40-
* 路由切换动画
41-
* 通过Ajax调用后台接口
42-
* 留言板(时间轴)
43-
* 添加房屋信息
44-
* 出租 求租
45-
* 出售 求购
46-
* 个人信息修改
47-
* 密码修改
48-
* ......
49-
50-
> 1.登录注册模块,流星与星星为canvas,登录注册切换动画为vue transition
51-
52-
![canvas-login](http://omt3u4bph.bkt.clouddn.com/canvas-login.png)
53-
54-
> 2. 后台管理页面,背景为canvas(会动的折线+跟着鼠标滑动) 功能模块切换为vue transition
55-
56-
![admin](http://omt3u4bph.bkt.clouddn.com/canvas-admin.png)
57-
58-
> 3. 留言板(时间轴特效)
59-
60-
![msgboard](http://omt3u4bph.bkt.clouddn.com/msgboard.png)
61-
62-
### 目录结构
63-
64-
<!--more-->
1+
## vue-particle-line
652

3+
### How to use
664
```
67-
|——canvas-vue/
68-
| |——build/
69-
| |——confg/
70-
| |——node_modules/
71-
| |——src/
72-
| | |——assets/ //静态文件
73-
| | |——components/ //页面组件
74-
| | | |——Menu.vue //登录注册加载页面
75-
| | | |——Home.vue //后台首页
76-
| | | |——Login.vue //登录页面
77-
| | | |——Regist.vue //注册页面
78-
| | | |——Navbar.vue //我的发布
79-
| | | |——Messageboard.vue //留言板页面
80-
| | | |——... //等等
81-
| | |——router/
82-
| | | |——index.js //页面路由
83-
| | |——App.vue //父组件
84-
| | |——main.js //入口文件
85-
| |——static/
86-
| |——.babelrc
87-
| |——.editorconfig
88-
| |——.gitgnore
89-
| |——index.html
90-
| |——package.json
91-
| |——README.md
5+
npm install vue-particle-line --save
926
```
937

94-
### 总结
95-
96-
这个项目还没有完成,后期将不定期更新,敬请期待。。
97-
98-
如果觉得还行,欢迎star
99-
100-
**项目地址:** https://github.com/hzzly/canvas-vue
101-
102-
103-
## Build Setup
104-
105-
``` bash
106-
# install dependencies
107-
npm install
108-
109-
# serve with hot reload at localhost:8080
110-
npm run dev
111-
112-
# build for production with minification
113-
npm run build
114-
115-
# build for production and view the bundle analyzer report
116-
npm run build --report
8+
### Main.js file
9+
```javascript
10+
import Vue from 'vue'
11+
import vueParticleLine from 'packages/index.js'
12+
Vue.use(vueParticleLine)
11713
```
11814

119-
For detailed explanation on how things work, checkout the [guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader).
120-
15+
### App.vue file - Simple example
16+
```html
17+
<template>
18+
<div id="app">
19+
<vue-particle-line>
20+
<router-view />
21+
</vue-particle-line>
22+
</div>
23+
</template>
24+
```
12125

122-
好了,溜了溜了。。。
26+
### Props
27+
```
28+
编写中
29+
```

babel.config.js

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
presets: [
3+
'@vue/app'
4+
]
5+
}

build/build.js

-35
This file was deleted.

build/check-versions.js

-45
This file was deleted.

build/dev-client.js

-9
This file was deleted.

0 commit comments

Comments
 (0)