forked from gaia-app/gaia
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
π : init new frontend application
- Loading branch information
1 parent
997808c
commit 3c69763
Showing
9 changed files
with
12,160 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
> 1% | ||
last 2 versions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module.exports = { | ||
presets: [ | ||
'@vue/cli-plugin-babel/preset', | ||
], | ||
}; |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"name": "client", | ||
"version": "0.1.0", | ||
"private": true, | ||
"scripts": { | ||
"serve": "vue-cli-service serve", | ||
"build": "vue-cli-service build", | ||
"lint": "vue-cli-service lint" | ||
}, | ||
"dependencies": { | ||
"core-js": "^3.6.4", | ||
"vue": "^2.6.11", | ||
"vue-router": "^3.1.5", | ||
"vuex": "^3.1.2" | ||
}, | ||
"devDependencies": { | ||
"@vue/cli-plugin-babel": "~4.2.0", | ||
"@vue/cli-plugin-eslint": "~4.2.0", | ||
"@vue/cli-plugin-router": "~4.2.0", | ||
"@vue/cli-plugin-vuex": "~4.2.0", | ||
"@vue/cli-service": "~4.2.0", | ||
"@vue/eslint-config-airbnb": "^5.0.2", | ||
"babel-eslint": "^10.0.3", | ||
"eslint": "^6.7.2", | ||
"eslint-plugin-import": "^2.20.1", | ||
"eslint-plugin-vue": "^6.1.2", | ||
"vue-template-compiler": "^2.6.11" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import Vue from 'vue'; | ||
import Router from 'vue-router'; | ||
|
||
Vue.use(Router); | ||
|
||
const appRoutes = []; | ||
|
||
export default new Router({ | ||
mode: 'history', | ||
routes: [...appRoutes], | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<template> | ||
<div id="app"> | ||
<router-view /> | ||
</div> | ||
</template> | ||
|
||
<style> | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import Vue from 'vue'; | ||
import App from './app.vue'; | ||
import router from './app-routes'; | ||
|
||
Vue.config.productionTip = false; | ||
|
||
new Vue({ | ||
router, | ||
render: (h) => h(App), | ||
}).$mount('#app'); |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
|
||
<!-- mobile metas --> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<meta name="viewport" content="initial-scale=1, maximum-scale=1"> | ||
|
||
<meta name="keywords" content=""> | ||
<meta name="description" content=""> | ||
<meta name="author" content=""> | ||
|
||
<link rel="icon" href="<%= BASE_URL %>favicon.ico"> | ||
<title>Gaia - A terraform UI</title> | ||
</head> | ||
<body> | ||
<noscript> | ||
<strong> | ||
We're sorry but frontend doesn't work properly without JavaScript enabled. | ||
Please enable it to continue. | ||
</strong> | ||
</noscript> | ||
<div id="app"></div> | ||
</body> | ||
</html> |