Skip to content

Commit d0b6314

Browse files
committed
deploy
0 parents  commit d0b6314

File tree

138 files changed

+19392
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

138 files changed

+19392
-0
lines changed

.eslintrc.js

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
module.exports = {
2+
"extends": [
3+
'plugin:vue/vue3-recommended',
4+
],
5+
"parser": "vue-eslint-parser",
6+
"parserOptions": {
7+
"parser": "babel-eslint",
8+
"sourceType": "module"
9+
},
10+
"env": {
11+
browser: true,
12+
},
13+
14+
"plugins": ["vue"],
15+
"rules": {
16+
"vue/max-attributes-per-line": "off",
17+
"vue/return-in-computed-property": ["error", {
18+
"treatUndefinedAsUnspecified": true
19+
}],
20+
'vue/singleline-html-element-content-newline': 'off',
21+
'vue/multiline-html-element-content-newline': 'off',
22+
'vue/comment-directive': 'off',
23+
},
24+
};

.gitignore

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
.DS_Store
2+
node_modules
3+
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+
pnpm-debug.log*
14+
15+
# Editor directories and files
16+
.idea
17+
.vscode
18+
*.suo
19+
*.ntvs*
20+
*.njsproj
21+
*.sln
22+
*.sw?

README.md

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# clients
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+
```
22+
23+
### Customize configuration
24+
See [Configuration Reference](https://cli.vuejs.org/config/).

babel.config.js

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
presets: ["@vue/cli-plugin-babel/preset"]
3+
};

config/config.js

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export const API_URL = "https://damp-bastion-54383.herokuapp.com/api/v1"
2+
export default API_URL

config/http.service.js

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import axios from 'axios'
2+
import {API_URL} from './config'
3+
4+
export const HTTP = axios.create({
5+
baseURL: `${API_URL}`
6+
})
7+
export default HTTP

config/jwt.service.js

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
export const getToken = () => {
2+
return window.localStorage.getItem(TOKEN);
3+
};
4+
5+
export const saveToken = token => {
6+
window.localStorage.setItem(TOKEN, token);
7+
};
8+
9+
export const destroyToken = () => {
10+
window.localStorage.removeItem(TOKEN);
11+
};
12+
13+
export default { getToken, saveToken, destroyToken };

dist/css/app.c9a834a8.css

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

dist/css/chunk-069ae90e.91eb0ed7.css

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

dist/css/chunk-0e794bfe.2bada7e8.css

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

dist/css/chunk-1b858050.5ed4ff53.css

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

dist/css/chunk-2e9b0848.27b85f0d.css

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

dist/css/chunk-40f206ca.2c266f76.css

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

dist/css/chunk-4cd30f4c.6b23f772.css

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

dist/css/chunk-50062731.3cfabbdc.css

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

0 commit comments

Comments
 (0)