Skip to content

Commit 2b00a24

Browse files
committed
Initial commit
0 parents  commit 2b00a24

18 files changed

+14760
-0
lines changed

.babelrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"presets": [
3+
["env", { "modules": false }],
4+
"stage-3"
5+
]
6+
}

.editorconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
indent_style = space
6+
indent_size = 2
7+
end_of_line = lf
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true

.gitignore

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
.DS_Store
2+
node_modules/
3+
dist/
4+
npm-debug.log
5+
yarn-error.log
6+
demo/dist
7+
*.map
8+
9+
# Editor directories and files
10+
.idea
11+
*.suo
12+
*.ntvs*
13+
*.njsproj
14+
*.sln
15+
.vscode

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
demo

README.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# vue-blink
2+
3+
> A Vue.js component that blinks!
4+
5+
## Usage
6+
7+
Install:
8+
```bash
9+
npm install vue-blink-css
10+
```
11+
Import:
12+
```javascript
13+
import VueBlink from 'vue-blink-css'
14+
Vue.use(VueBlink)
15+
```
16+
17+
```xml
18+
<VueBlink :duration="5">Blinking Text</VueBlink>
19+
<VueBlink :duration="1">Blink is back!</VueBlink>
20+
<VueBlink
21+
:duration="1.5"
22+
:iterationCount="5">
23+
<p>This is super annoying!</p>
24+
</VueBlink>
25+
```
26+
27+
## Build Setup
28+
29+
``` bash
30+
# install dependencies
31+
npm install
32+
33+
# serve with hot reload at localhost:8080
34+
npm run dev
35+
36+
# build for production with minification
37+
npm run build
38+
```

demo/.babelrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"presets": [
3+
["env", { "modules": false }],
4+
"stage-3"
5+
]
6+
}

demo/index.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<meta http-equiv="X-UA-Compatible" content="ie=edge">
7+
<title>Document</title>
8+
</head>
9+
<body>
10+
<div id="app"></div>
11+
<script src="/dist/build.js"></script>
12+
</body>
13+
</html>

0 commit comments

Comments
 (0)