Skip to content

Commit 8fed361

Browse files
committed
chore: format
1 parent d2db863 commit 8fed361

File tree

7 files changed

+47
-27
lines changed

7 files changed

+47
-27
lines changed

.github/workflows/bump_deps.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ jobs:
2424
ncu -u --dep prod
2525
pnpm install
2626
27-
2827
- uses: tibdex/github-app-token@v1
2928
id: generate-token
3029
with:
@@ -38,7 +37,6 @@ jobs:
3837
labels: Dependencies
3938
branch: "Bump_Dependencies"
4039

41-
4240
Bump_devDependencies:
4341
runs-on: ubuntu-latest
4442
steps:

spec/project/hello-world/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,29 @@
11
# hello-world
22

33
## Project setup
4+
45
```
56
pnpm install
67
```
78

89
### Compiles and hot-reloads for development
10+
911
```
1012
pnpm run serve
1113
```
1214

1315
### Compiles and minifies for production
16+
1417
```
1518
pnpm run build
1619
```
1720

1821
### Lints and fixes files
22+
1923
```
2024
pnpm run lint
2125
```
2226

2327
### Customize configuration
28+
2429
See [Configuration Reference](https://cli.vuejs.org/config/).
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
module.exports = {
2-
presets: [
3-
'@vue/cli-plugin-babel/preset'
4-
]
2+
presets: ["@vue/cli-plugin-babel/preset"],
53
}

spec/project/hello-world/public/index.html

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4-
<meta charset="utf-8">
5-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6-
<meta name="viewport" content="width=device-width,initial-scale=1.0">
7-
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
4+
<meta charset="utf-8" />
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
6+
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
7+
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
88
<title><%= htmlWebpackPlugin.options.title %></title>
99
</head>
1010
<body>
1111
<noscript>
12-
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
12+
<strong
13+
>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please
14+
enable it to continue.</strong
15+
>
1316
</noscript>
1417
<div id="app"></div>
1518
<!-- built files will be auto injected -->

spec/project/hello-world/src/App.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
<template>
22
<div id="app">
3-
<img alt="Vue logo" src="./assets/logo.png">
4-
<HelloWorld msg="Welcome to Your Vue.js App"/>
3+
<img alt="Vue logo" src="./assets/logo.png" />
4+
<HelloWorld msg="Welcome to Your Vue.js App" />
55
</div>
66
</template>
77

88
<script>
9-
import HelloWorld from './components/HelloWorld.vue'
9+
import HelloWorld from "./components/HelloWorld.vue"
1010
1111
export default {
12-
name: 'App',
12+
name: "App",
1313
components: {
14-
HelloWorld
15-
}
14+
HelloWorld,
15+
},
1616
}
1717
</script>
1818

spec/project/hello-world/src/components/HelloWorld.vue

Lines changed: 23 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,28 @@
22
<div class="hello">
33
<h1>{{ msg }}</h1>
44
<p>
5-
For a guide and recipes on how to configure / customize this project,<br>
5+
For a guide and recipes on how to configure / customize this project,<br />
66
check out the
77
<a href="https://cli.vuejs.org" target="_blank" rel="noopener">vue-cli documentation</a>.
88
</p>
99
<h3>Installed CLI Plugins</h3>
1010
<ul>
11-
<li><a href="https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-babel" target="_blank" rel="noopener">babel</a></li>
12-
<li><a href="https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-eslint" target="_blank" rel="noopener">eslint</a></li>
11+
<li>
12+
<a
13+
href="https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-babel"
14+
target="_blank"
15+
rel="noopener"
16+
>babel</a
17+
>
18+
</li>
19+
<li>
20+
<a
21+
href="https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-eslint"
22+
target="_blank"
23+
rel="noopener"
24+
>eslint</a
25+
>
26+
</li>
1327
</ul>
1428
<h3>Essential Links</h3>
1529
<ul>
@@ -23,7 +37,9 @@
2337
<ul>
2438
<li><a href="https://router.vuejs.org" target="_blank" rel="noopener">vue-router</a></li>
2539
<li><a href="https://vuex.vuejs.org" target="_blank" rel="noopener">vuex</a></li>
26-
<li><a href="https://github.com/vuejs/vue-devtools#vue-devtools" target="_blank" rel="noopener">vue-devtools</a></li>
40+
<li>
41+
<a href="https://github.com/vuejs/vue-devtools#vue-devtools" target="_blank" rel="noopener">vue-devtools</a>
42+
</li>
2743
<li><a href="https://vue-loader.vuejs.org" target="_blank" rel="noopener">vue-loader</a></li>
2844
<li><a href="https://github.com/vuejs/awesome-vue" target="_blank" rel="noopener">awesome-vue</a></li>
2945
</ul>
@@ -32,10 +48,10 @@
3248

3349
<script>
3450
export default {
35-
name: 'HelloWorld',
51+
name: "HelloWorld",
3652
props: {
37-
msg: String
38-
}
53+
msg: String,
54+
},
3955
}
4056
</script>
4157

spec/project/hello-world/src/main.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import Vue from 'vue'
2-
import App from './App.vue'
1+
import Vue from "vue"
2+
import App from "./App.vue"
33

44
Vue.config.productionTip = false
55

66
new Vue({
7-
render: h => h(App),
8-
}).$mount('#app')
7+
render: (h) => h(App),
8+
}).$mount("#app")

0 commit comments

Comments
 (0)