Skip to content
This repository was archived by the owner on Aug 26, 2024. It is now read-only.

Commit 2410319

Browse files
committed
setup demo subdirectory
1 parent 666b390 commit 2410319

17 files changed

+11961
-5
lines changed

README.md

+9
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,11 @@
11
# vue-transitions-css
22
A lightweight CSS library for for adding transitions to Vue components :star:
3+
4+
### CONTRUBUTION
5+
After creating a fork and cloning locally:
6+
7+
1. Install dependencies in the root(`/`) directory with: `npm install`
8+
2. Install dependencies in the `/demo` directory with `cd demo && npm install`
9+
3. Open two terminal tabs, In the first run: `npm run watch` and in the second run: `npm run develop`
10+
4. Edit/Create the css files in `/src` folder to add new classes.
11+
5. Create new components in the `/demo/src/components/` folder to add a sample of the new classes.

demo/.browserslistrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
> 1%
2+
last 2 versions
3+
not dead

demo/.eslintrc.js

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

demo/.gitignore

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

demo/README.md

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# demo
2+
3+
## Project setup
4+
```
5+
npm install
6+
```
7+
8+
### Compiles and hot-reloads for development
9+
```
10+
npm run serve
11+
```
12+
13+
### Compiles and minifies for production
14+
```
15+
npm run build
16+
```
17+
18+
### Lints and fixes files
19+
```
20+
npm run lint
21+
```
22+
23+
### Customize configuration
24+
See [Configuration Reference](https://cli.vuejs.org/config/).

demo/babel.config.js

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
presets: ["@vue/cli-plugin-babel/preset"]
3+
};

demo/index.html

Whitespace-only changes.

0 commit comments

Comments
 (0)