Skip to content

Commit 1394034

Browse files
committed
first commit
0 parents  commit 1394034

Some content is hidden

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

42 files changed

+12041
-0
lines changed

.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 dead

.eslintrc.js

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
module.exports = {
2+
root: true,
3+
env: {
4+
node: true,
5+
},
6+
extends: [
7+
"plugin:vue/vue3-essential",
8+
"eslint:recommended",
9+
"@vue/typescript/recommended",
10+
"@vue/prettier",
11+
"@vue/prettier/@typescript-eslint",
12+
],
13+
parserOptions: {
14+
ecmaVersion: 2020,
15+
},
16+
rules: {
17+
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
18+
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
19+
},
20+
overrides: [
21+
{
22+
files: [
23+
"**/__tests__/*.{j,t}s?(x)",
24+
"**/tests/unit/**/*.spec.{j,t}s?(x)",
25+
],
26+
env: {
27+
jest: true,
28+
},
29+
},
30+
],
31+
};

.gitignore

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

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# layout-practice
2+
3+
## Project setup
4+
5+
```
6+
yarn install
7+
```

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/cli-plugin-babel/preset"],
3+
};

jest.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = {
2+
preset: "@vue/cli-plugin-unit-jest/presets/typescript-and-babel",
3+
transform: {
4+
"^.+\\.vue$": "vue-jest",
5+
},
6+
};

package.json

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"name": "layout-practice",
3+
"version": "0.1.0",
4+
"private": true,
5+
"scripts": {
6+
"serve": "vue-cli-service serve",
7+
"build": "vue-cli-service build",
8+
"test:unit": "vue-cli-service test:unit",
9+
"lint": "vue-cli-service lint"
10+
},
11+
"dependencies": {
12+
"core-js": "^3.6.5",
13+
"register-service-worker": "^1.7.1",
14+
"vue": "^3.0.0",
15+
"vue-router": "^4.0.0-0",
16+
"vuex": "^4.0.0-0"
17+
},
18+
"devDependencies": {
19+
"@types/jest": "^24.0.19",
20+
"@typescript-eslint/eslint-plugin": "^4.18.0",
21+
"@typescript-eslint/parser": "^4.18.0",
22+
"@vue/cli-plugin-babel": "~4.5.0",
23+
"@vue/cli-plugin-eslint": "~4.5.0",
24+
"@vue/cli-plugin-pwa": "~4.5.0",
25+
"@vue/cli-plugin-router": "~4.5.0",
26+
"@vue/cli-plugin-typescript": "~4.5.0",
27+
"@vue/cli-plugin-unit-jest": "~4.5.0",
28+
"@vue/cli-plugin-vuex": "~4.5.0",
29+
"@vue/cli-service": "~4.5.0",
30+
"@vue/compiler-sfc": "^3.0.0",
31+
"@vue/eslint-config-prettier": "^6.0.0",
32+
"@vue/eslint-config-typescript": "^7.0.0",
33+
"@vue/test-utils": "^2.0.0-0",
34+
"eslint": "^6.7.2",
35+
"eslint-plugin-prettier": "^3.3.1",
36+
"eslint-plugin-vue": "^7.0.0",
37+
"node-sass": "^4.12.0",
38+
"prettier": "^2.2.1",
39+
"sass-loader": "^8.0.2",
40+
"typescript": "~4.1.5",
41+
"vue-jest": "^5.0.0-0"
42+
}
43+
}

public/favicon.ico

4.19 KB
Binary file not shown.
9.2 KB
Loading
29.1 KB
Loading

0 commit comments

Comments
 (0)