Skip to content

Commit e375439

Browse files
committed
demo: update
1 parent bd5c67e commit e375439

File tree

26 files changed

+9348
-0
lines changed

26 files changed

+9348
-0
lines changed

demos/with-vue2.5/.browserslistrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
> 1%
2+
last 2 versions
3+
not ie <= 8

demos/with-vue2.5/.eslintrc.js

Lines changed: 17 additions & 0 deletions
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+
'eslint:recommended'
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+
}

demos/with-vue2.5/.gitignore

Lines changed: 21 additions & 0 deletions
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*

demos/with-vue2.5/README.MD

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# with-vue2.5
2+
3+
4+
## Project setup
5+
6+
```
7+
# 强制使用 yarn, 因为老版依赖跟不上, 不要删除 yarn.lock
8+
yarn install
9+
```
10+
11+
### Compiles and hot-reloads for development
12+
13+
```
14+
yarn run dev
15+
```
16+
17+
### Compiles and minifies for production
18+
19+
```
20+
yarn run build
21+
```
22+

demos/with-vue2.5/babel.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
presets: ["@vue/app"],
3+
};

demos/with-vue2.5/package.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"name": "with-vue2.5",
3+
"version": "0.1.0",
4+
"private": true,
5+
"scripts": {
6+
"dev": "vue-cli-service serve",
7+
"build": "vue-cli-service build",
8+
"lint": "vue-cli-service lint",
9+
"preinstall": "npx only-allow yarn"
10+
},
11+
"dependencies": {
12+
"vue": "^2.5.17",
13+
"ezuikit-js": "8.2.0-beta.8"
14+
},
15+
"devDependencies": {
16+
"@vue/cli-plugin-babel": "^3.0.1",
17+
"@vue/cli-service": "^3.0.1",
18+
"vue-cli-plugin-element": "1.0.0",
19+
"vue-template-compiler": "^2.5.17",
20+
"only-allow": "^1.2.1"
21+
},
22+
"resolutions": {
23+
"screenfull": "^5.2.0",
24+
"minimatch": "3"
25+
},
26+
"overrides": {
27+
"minimatch": "3"
28+
}
29+
}

demos/with-vue2.5/public/PlayCtrlWasm/playCtrl1/HasSIMD/Decoder.js

Lines changed: 180 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demos/with-vue2.5/public/PlayCtrlWasm/playCtrl1/NoSIMD/Decoder.js

Lines changed: 180 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demos/with-vue2.5/public/PlayCtrlWasm/playCtrl3/hasWorker/HasSIMD/Decoder.js

Lines changed: 21 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Binary file not shown.

0 commit comments

Comments
 (0)