Skip to content

Commit 967320c

Browse files
committed
chore: create hello-world project
pnpm i -g @vue/cli vue create hello-world
1 parent fac6b04 commit 967320c

File tree

12 files changed

+9150
-0
lines changed

12 files changed

+9150
-0
lines changed

spec/project/hello-world/.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?

spec/project/hello-world/.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
shamefully-hoist=true

spec/project/hello-world/README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# hello-world
2+
3+
## Project setup
4+
```
5+
pnpm install
6+
```
7+
8+
### Compiles and hot-reloads for development
9+
```
10+
pnpm run serve
11+
```
12+
13+
### Compiles and minifies for production
14+
```
15+
pnpm run build
16+
```
17+
18+
### Lints and fixes files
19+
```
20+
pnpm run lint
21+
```
22+
23+
### Customize configuration
24+
See [Configuration Reference](https://cli.vuejs.org/config/).
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
presets: [
3+
'@vue/cli-plugin-babel/preset'
4+
]
5+
}

spec/project/hello-world/package.json

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"name": "hello-world",
3+
"version": "0.1.0",
4+
"private": true,
5+
"scripts": {
6+
"serve": "vue-cli-service serve",
7+
"build": "vue-cli-service build",
8+
"lint": "vue-cli-service lint"
9+
},
10+
"dependencies": {
11+
"core-js": "^3.6.5",
12+
"vue": "^2.6.11"
13+
},
14+
"devDependencies": {
15+
"@vue/cli-plugin-babel": "~4.5.0",
16+
"@vue/cli-plugin-eslint": "~4.5.0",
17+
"@vue/cli-service": "~4.5.0",
18+
"babel-eslint": "^10.1.0",
19+
"eslint": "^6.7.2",
20+
"eslint-plugin-vue": "^6.2.2",
21+
"vue-template-compiler": "^2.6.11"
22+
},
23+
"eslintConfig": {
24+
"root": true,
25+
"env": {
26+
"node": true
27+
},
28+
"extends": [
29+
"plugin:vue/essential",
30+
"eslint:recommended"
31+
],
32+
"parserOptions": {
33+
"parser": "babel-eslint"
34+
},
35+
"rules": {}
36+
},
37+
"browserslist": [
38+
"> 1%",
39+
"last 2 versions",
40+
"not dead"
41+
]
42+
}

0 commit comments

Comments
 (0)