Skip to content
This repository was archived by the owner on Jun 19, 2022. It is now read-only.

Commit 705397f

Browse files
committed
chore: initial commit
0 parents  commit 705397f

35 files changed

+9565
-0
lines changed

.editorconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[*.{js,jsx,ts,tsx,vue}]
2+
indent_style = space
3+
indent_size = 2
4+
end_of_line = lf
5+
trim_trailing_whitespace = true
6+
insert_final_newline = true
7+
max_line_length = 100

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

README.md

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

babel.config.js

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+
};

package.json

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
{
2+
"name": "thunder-class",
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.4",
12+
"register-service-worker": "^1.7.1",
13+
"vue": "^2.6.11",
14+
"vue-class-component": "^7.2.3",
15+
"vue-property-decorator": "^8.4.1",
16+
"vue-router": "^3.1.6"
17+
},
18+
"devDependencies": {
19+
"@typescript-eslint/eslint-plugin": "^2.26.0",
20+
"@typescript-eslint/parser": "^2.26.0",
21+
"@vue/cli-plugin-babel": "~4.3.0",
22+
"@vue/cli-plugin-eslint": "~4.3.0",
23+
"@vue/cli-plugin-pwa": "~4.3.0",
24+
"@vue/cli-plugin-router": "~4.3.0",
25+
"@vue/cli-plugin-typescript": "~4.3.0",
26+
"@vue/cli-service": "~4.3.0",
27+
"@vue/eslint-config-airbnb": "^5.0.2",
28+
"@vue/eslint-config-typescript": "^5.0.2",
29+
"eslint": "^6.7.2",
30+
"eslint-plugin-import": "^2.20.2",
31+
"eslint-plugin-vue": "^6.2.2",
32+
"sass": "^1.26.3",
33+
"sass-loader": "^8.0.2",
34+
"typescript": "~3.8.3",
35+
"vue-template-compiler": "^2.6.11"
36+
},
37+
"eslintConfig": {
38+
"root": true,
39+
"env": {
40+
"node": true
41+
},
42+
"extends": [
43+
"plugin:vue/essential",
44+
"@vue/airbnb",
45+
"@vue/typescript/recommended"
46+
],
47+
"parserOptions": {
48+
"ecmaVersion": 2020
49+
},
50+
"rules": {}
51+
},
52+
"browserslist": [
53+
"> 1%",
54+
"last 2 versions",
55+
"not dead"
56+
]
57+
}

public/favicon.ico

4.19 KB
Binary file not shown.
9.2 KB
Loading
29.1 KB
Loading
Loading
Loading
3.29 KB
Loading
3.95 KB
Loading
4.57 KB
Loading
1.46 KB
Loading
1.78 KB
Loading

public/img/icons/apple-touch-icon.png

4.57 KB
Loading

public/img/icons/favicon-16x16.png

799 Bytes
Loading

public/img/icons/favicon-32x32.png

1.24 KB
Loading
1.14 KB
Loading

public/img/icons/mstile-150x150.png

4.18 KB
Loading
Lines changed: 149 additions & 0 deletions
Loading

public/index.html

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
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">
8+
<title><%= htmlWebpackPlugin.options.title %></title>
9+
</head>
10+
<body>
11+
<noscript>
12+
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
13+
</noscript>
14+
<div id="app"></div>
15+
<!-- built files will be auto injected -->
16+
</body>
17+
</html>

public/robots.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
User-agent: *
2+
Disallow:

src/App.vue

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<template>
2+
<div id="app">
3+
<div id="nav">
4+
<router-link to="/">Home</router-link> |
5+
<router-link to="/about">About</router-link>
6+
</div>
7+
<router-view/>
8+
</div>
9+
</template>
10+
11+
<style lang="scss">
12+
#app {
13+
font-family: Avenir, Helvetica, Arial, sans-serif;
14+
-webkit-font-smoothing: antialiased;
15+
-moz-osx-font-smoothing: grayscale;
16+
text-align: center;
17+
color: #2c3e50;
18+
}
19+
20+
#nav {
21+
padding: 30px;
22+
23+
a {
24+
font-weight: bold;
25+
color: #2c3e50;
26+
27+
&.router-link-exact-active {
28+
color: #42b983;
29+
}
30+
}
31+
}
32+
</style>

src/assets/logo.png

6.69 KB
Loading

src/components/HelloWorld.vue

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
<template>
2+
<div class="hello">
3+
<h1>{{ msg }}</h1>
4+
<p>
5+
For a guide and recipes on how to configure / customize this project,<br>
6+
check out the
7+
<a href="https://cli.vuejs.org" target="_blank" rel="noopener">vue-cli documentation</a>.
8+
</p>
9+
<h3>Installed CLI Plugins</h3>
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-typescript" target="_blank" rel="noopener">typescript</a></li>
13+
<li><a href="https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-pwa" target="_blank" rel="noopener">pwa</a></li>
14+
<li><a href="https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-router" target="_blank" rel="noopener">router</a></li>
15+
<li><a href="https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-eslint" target="_blank" rel="noopener">eslint</a></li>
16+
</ul>
17+
<h3>Essential Links</h3>
18+
<ul>
19+
<li><a href="https://vuejs.org" target="_blank" rel="noopener">Core Docs</a></li>
20+
<li><a href="https://forum.vuejs.org" target="_blank" rel="noopener">Forum</a></li>
21+
<li><a href="https://chat.vuejs.org" target="_blank" rel="noopener">Community Chat</a></li>
22+
<li><a href="https://twitter.com/vuejs" target="_blank" rel="noopener">Twitter</a></li>
23+
<li><a href="https://news.vuejs.org" target="_blank" rel="noopener">News</a></li>
24+
</ul>
25+
<h3>Ecosystem</h3>
26+
<ul>
27+
<li><a href="https://router.vuejs.org" target="_blank" rel="noopener">vue-router</a></li>
28+
<li><a href="https://vuex.vuejs.org" target="_blank" rel="noopener">vuex</a></li>
29+
<li><a href="https://github.com/vuejs/vue-devtools#vue-devtools" target="_blank" rel="noopener">vue-devtools</a></li>
30+
<li><a href="https://vue-loader.vuejs.org" target="_blank" rel="noopener">vue-loader</a></li>
31+
<li><a href="https://github.com/vuejs/awesome-vue" target="_blank" rel="noopener">awesome-vue</a></li>
32+
</ul>
33+
</div>
34+
</template>
35+
36+
<script lang="ts">
37+
import { Component, Prop, Vue } from 'vue-property-decorator';
38+
39+
@Component
40+
export default class HelloWorld extends Vue {
41+
@Prop() private msg!: string;
42+
}
43+
</script>
44+
45+
<!-- Add "scoped" attribute to limit CSS to this component only -->
46+
<style scoped lang="scss">
47+
h3 {
48+
margin: 40px 0 0;
49+
}
50+
ul {
51+
list-style-type: none;
52+
padding: 0;
53+
}
54+
li {
55+
display: inline-block;
56+
margin: 0 10px;
57+
}
58+
a {
59+
color: #42b983;
60+
}
61+
</style>

src/main.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import Vue from 'vue';
2+
import App from './App.vue';
3+
import './registerServiceWorker';
4+
import router from './router';
5+
6+
Vue.config.productionTip = false;
7+
8+
new Vue({
9+
router,
10+
render: (h) => h(App),
11+
}).$mount('#app');

0 commit comments

Comments
 (0)