Skip to content

Commit 9895564

Browse files
committed
init
0 parents  commit 9895564

18 files changed

+13590
-0
lines changed

.gitignore

+21
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

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# consumir-api
2+
3+
## Project setup
4+
```
5+
npm install
6+
```
7+
8+
### Compiles and hot-reloads for development
9+
```
10+
npm run serve
11+
```
12+
13+
### Compiles and minifies for production
14+
```
15+
npm run build
16+
```
17+
18+
### Lints and fixes files
19+
```
20+
npm run lint
21+
```

babel.config.js

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
presets: [
3+
'@vue/app'
4+
]
5+
}

package-lock.json

+12,714
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
"name": "consumir-api",
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+
"axios": "^0.18.0",
12+
"vue": "^2.5.17",
13+
"vue-router": "^3.0.1"
14+
},
15+
"devDependencies": {
16+
"@vue/cli-plugin-babel": "^3.0.1",
17+
"@vue/cli-plugin-eslint": "^3.0.1",
18+
"@vue/cli-service": "^3.0.1",
19+
"vue-template-compiler": "^2.5.17"
20+
},
21+
"eslintConfig": {
22+
"root": true,
23+
"env": {
24+
"node": true
25+
},
26+
"extends": [
27+
"plugin:vue/essential",
28+
"eslint:recommended"
29+
],
30+
"rules": {},
31+
"parserOptions": {
32+
"parser": "babel-eslint"
33+
}
34+
},
35+
"postcss": {
36+
"plugins": {
37+
"autoprefixer": {}
38+
}
39+
},
40+
"browserslist": [
41+
"> 1%",
42+
"last 2 versions",
43+
"not ie <= 8"
44+
]
45+
}

public/favicon.ico

1.12 KB
Binary file not shown.

public/index.html

+17
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>consumir-api</title>
9+
</head>
10+
<body>
11+
<noscript>
12+
<strong>We're sorry but consumir-api 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>

src/App.vue

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

src/assets/logo.png

6.69 KB
Loading

src/components/Footer.vue

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<template>
2+
<footer class="footer">
3+
<p>ofaaoficial</p>
4+
</footer>
5+
</template>
6+
7+
<script>
8+
export default {
9+
name: 'Footer',
10+
}
11+
</script>
12+
13+
<!-- Add "scoped" attribute to limit CSS to this component only -->
14+
<style scoped>
15+
.footer{
16+
margin-top: 100px;
17+
width: 100%;
18+
padding: 15px;
19+
background-color: #000;
20+
color: rgb(255, 245, 232);
21+
}
22+
</style>

0 commit comments

Comments
 (0)