File tree Expand file tree Collapse file tree 7 files changed +47
-27
lines changed Expand file tree Collapse file tree 7 files changed +47
-27
lines changed Original file line number Diff line number Diff line change 24
24
ncu -u --dep prod
25
25
pnpm install
26
26
27
-
28
27
- uses : tibdex/github-app-token@v1
29
28
id : generate-token
30
29
with :
38
37
labels : Dependencies
39
38
branch : " Bump_Dependencies"
40
39
41
-
42
40
Bump_devDependencies :
43
41
runs-on : ubuntu-latest
44
42
steps :
Original file line number Diff line number Diff line change 1
1
# hello-world
2
2
3
3
## Project setup
4
+
4
5
```
5
6
pnpm install
6
7
```
7
8
8
9
### Compiles and hot-reloads for development
10
+
9
11
```
10
12
pnpm run serve
11
13
```
12
14
13
15
### Compiles and minifies for production
16
+
14
17
```
15
18
pnpm run build
16
19
```
17
20
18
21
### Lints and fixes files
22
+
19
23
```
20
24
pnpm run lint
21
25
```
22
26
23
27
### Customize configuration
28
+
24
29
See [ Configuration Reference] ( https://cli.vuejs.org/config/ ) .
Original file line number Diff line number Diff line change 1
1
module . exports = {
2
- presets : [
3
- '@vue/cli-plugin-babel/preset'
4
- ]
2
+ presets : [ "@vue/cli-plugin-babel/preset" ] ,
5
3
}
Original file line number Diff line number Diff line change 1
1
<!DOCTYPE html>
2
2
< html lang ="en ">
3
3
< 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 " / >
8
8
< title > < %= htmlWebpackPlugin.options.title %> </ title >
9
9
</ head >
10
10
< body >
11
11
< 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
+ >
13
16
</ noscript >
14
17
< div id ="app "> </ div >
15
18
<!-- built files will be auto injected -->
Original file line number Diff line number Diff line change 1
1
<template >
2
2
<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" />
5
5
</div >
6
6
</template >
7
7
8
8
<script >
9
- import HelloWorld from ' ./components/HelloWorld.vue'
9
+ import HelloWorld from " ./components/HelloWorld.vue"
10
10
11
11
export default {
12
- name: ' App' ,
12
+ name: " App" ,
13
13
components: {
14
- HelloWorld
15
- }
14
+ HelloWorld,
15
+ },
16
16
}
17
17
</script >
18
18
Original file line number Diff line number Diff line change 2
2
<div class =" hello" >
3
3
<h1 >{{ msg }}</h1 >
4
4
<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 / >
6
6
check out the
7
7
<a href =" https://cli.vuejs.org" target =" _blank" rel =" noopener" >vue-cli documentation</a >.
8
8
</p >
9
9
<h3 >Installed CLI Plugins</h3 >
10
10
<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 >
13
27
</ul >
14
28
<h3 >Essential Links</h3 >
15
29
<ul >
23
37
<ul >
24
38
<li ><a href =" https://router.vuejs.org" target =" _blank" rel =" noopener" >vue-router</a ></li >
25
39
<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 >
27
43
<li ><a href =" https://vue-loader.vuejs.org" target =" _blank" rel =" noopener" >vue-loader</a ></li >
28
44
<li ><a href =" https://github.com/vuejs/awesome-vue" target =" _blank" rel =" noopener" >awesome-vue</a ></li >
29
45
</ul >
32
48
33
49
<script >
34
50
export default {
35
- name: ' HelloWorld' ,
51
+ name: " HelloWorld" ,
36
52
props: {
37
- msg: String
38
- }
53
+ msg: String ,
54
+ },
39
55
}
40
56
</script >
41
57
Original file line number Diff line number Diff line change 1
- import Vue from ' vue'
2
- import App from ' ./App.vue'
1
+ import Vue from " vue"
2
+ import App from " ./App.vue"
3
3
4
4
Vue . config . productionTip = false
5
5
6
6
new Vue ( {
7
- render : h => h ( App ) ,
8
- } ) . $mount ( ' #app' )
7
+ render : ( h ) => h ( App ) ,
8
+ } ) . $mount ( " #app" )
You can’t perform that action at this time.
0 commit comments