Skip to content

Commit 0d25caa

Browse files
committed
auto-commit
1 parent 0353485 commit 0d25caa

Some content is hidden

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

42 files changed

+10641
-0
lines changed

.browserslistrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
> 1%
2+
last 2 versions

.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

.eslintrc.js

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
module.exports = {
2+
root: true,
3+
env: {
4+
node: true,
5+
},
6+
extends: [
7+
'plugin:vue/essential',
8+
'@vue/airbnb',
9+
],
10+
rules: {
11+
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
12+
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
13+
},
14+
parserOptions: {
15+
parser: 'babel-eslint',
16+
},
17+
overrides: [
18+
{
19+
files: [
20+
'**/__tests__/*.{j,t}s?(x)',
21+
],
22+
env: {
23+
mocha: true,
24+
},
25+
},
26+
],
27+
};

.gitignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
.DS_Store
2+
node_modules
3+
/dist
4+
5+
/tests/e2e/videos/
6+
/tests/e2e/screenshots/
7+
8+
# local env files
9+
.env.local
10+
.env.*.local
11+
12+
# Log files
13+
npm-debug.log*
14+
yarn-debug.log*
15+
yarn-error.log*
16+
17+
# Editor directories and files
18+
.idea
19+
.vscode
20+
*.suo
21+
*.ntvs*
22+
*.njsproj
23+
*.sln
24+
*.sw?

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

cypress.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"pluginsFile": "tests/e2e/plugins/index.js"
3+
}

package.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"name": "vue_latest",
3+
"version": "0.1.0",
4+
"private": true,
5+
"scripts": {
6+
"serve": "vue-cli-service serve",
7+
"build": "vue-cli-service build",
8+
"test:unit": "vue-cli-service test:unit",
9+
"test:e2e": "vue-cli-service test:e2e",
10+
"lint": "vue-cli-service lint"
11+
},
12+
"dependencies": {
13+
"core-js": "^3.1.2",
14+
"register-service-worker": "^1.6.2",
15+
"vue": "^2.6.10",
16+
"vue-router": "^3.0.6",
17+
"vuex": "^3.0.1"
18+
},
19+
"devDependencies": {
20+
"@vue/cli-plugin-babel": "^4.0.0",
21+
"@vue/cli-plugin-e2e-cypress": "^4.0.0",
22+
"@vue/cli-plugin-eslint": "^4.0.0",
23+
"@vue/cli-plugin-pwa": "^4.0.0",
24+
"@vue/cli-plugin-router": "^4.0.0",
25+
"@vue/cli-plugin-unit-mocha": "^4.0.0",
26+
"@vue/cli-plugin-vuex": "^4.0.0",
27+
"@vue/cli-service": "^4.0.0",
28+
"@vue/eslint-config-airbnb": "^4.0.0",
29+
"@vue/test-utils": "1.0.0-beta.29",
30+
"babel-eslint": "^10.0.1",
31+
"chai": "^4.1.2",
32+
"eslint-plugin-vue": "^5.0.0",
33+
"eslint": "^5.16.0",
34+
"mangle-css-class-webpack-plugin": "^4.0.0",
35+
"sass-loader": "^8.0.0",
36+
"sass": "^1.19.0",
37+
"tailwindcss": "^1.2.0",
38+
"vue-template-compiler": "^2.6.10"
39+
}
40+
}

postcss.config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
const tailwindcss = require('tailwindcss');
2+
3+
module.exports = {
4+
plugins: [
5+
tailwindcss('./tailwind.config.js'),
6+
],
7+
};

public/favicon.ico

4.19 KB
Binary file not shown.
9.2 KB
Loading
29.1 KB
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>vue_latest</title>
9+
</head>
10+
<body>
11+
<noscript>
12+
<strong>We're sorry but vue_latest 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: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<template>
2+
<div id="app">
3+
<router-view/>
4+
</div>
5+
</template>

src/assets/css/tailwind.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
@tailwind base;
2+
@tailwind components;
3+
@tailwind utilities;
4+
5+
/* @import "tailwindcss/base"; */
6+
7+
/* @import "tailwindcss/components"; */
8+
9+
/* @import "tailwindcss/utilities"; */

src/assets/logo.png

6.69 KB
Loading

src/main.js

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

src/registerServiceWorker.js

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
/* eslint-disable no-console */
2+
3+
import { register } from 'register-service-worker';
4+
5+
if (process.env.NODE_ENV === 'production') {
6+
register(`${process.env.BASE_URL}service-worker.js`, {
7+
ready() {
8+
console.log(
9+
'App is being served from cache by a service worker.\n'
10+
+ 'For more details, visit https://goo.gl/AFskqB',
11+
);
12+
},
13+
registered() {
14+
console.log('Service worker has been registered.');
15+
},
16+
cached() {
17+
console.log('Content has been cached for offline use.');
18+
},
19+
updatefound() {
20+
console.log('New content is downloading.');
21+
},
22+
updated() {
23+
console.log('New content is available; please refresh.');
24+
},
25+
offline() {
26+
console.log('No internet connection found. App is running in offline mode.');
27+
},
28+
error(error) {
29+
console.error('Error during service worker registration:', error);
30+
},
31+
});
32+
}

src/router/index.js

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
import Vue from 'vue';
2+
import VueRouter from 'vue-router';
3+
import Home from '../views/Home.vue';
4+
5+
Vue.use(VueRouter);
6+
7+
const routes = [
8+
{
9+
path: '/',
10+
name: 'home',
11+
component: Home,
12+
},
13+
];
14+
15+
const router = new VueRouter({
16+
mode: 'history',
17+
base: process.env.BASE_URL,
18+
routes,
19+
});
20+
21+
export default router;

src/store/index.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import Vue from 'vue';
2+
import Vuex from 'vuex';
3+
4+
Vue.use(Vuex);
5+
6+
export default new Vuex.Store({
7+
state: {
8+
},
9+
mutations: {
10+
},
11+
actions: {
12+
},
13+
modules: {
14+
},
15+
});

0 commit comments

Comments
 (0)