Compare commits
13 Commits
376b828831
...
2d38b690fa
Author | SHA1 | Date | |
---|---|---|---|
2d38b690fa | |||
97f6d359b9 | |||
0611ba9437 | |||
524e996c8a | |||
d75ab4f367 | |||
1e2e37aef3 | |||
afa3b8264b | |||
a1b2f39e98 | |||
c040f6c380 | |||
1f855b9629 | |||
00d5bbb8db | |||
debccc2e53 | |||
b570e364b9 |
|
@ -4,6 +4,7 @@
|
|||
"private": true,
|
||||
"scripts": {
|
||||
"serve": "vue-cli-service serve --port 3001",
|
||||
"serve2": "vue-cli-service serve --port 3002",
|
||||
"build": "vue-cli-service build",
|
||||
"lint": "vue-cli-service lint --check",
|
||||
"lint2": "eslint ./src --ext .js,.ts",
|
||||
|
|
13
src/App.vue
13
src/App.vue
|
@ -1,4 +1,9 @@
|
|||
<template>
|
||||
<div class="container-fluid">
|
||||
<div class="development-notice">
|
||||
DEVELOPMENT SITE <br> >> Only for development purposes <<
|
||||
</div>
|
||||
</div>
|
||||
<!-- <HelloWorld msg="Welcome to Your Vue.js plus TypeScript App" /> -->
|
||||
<nav class="navbar navbar-light border-bottom" role="navigation" aria-label="main navigation">
|
||||
<div class="navbar-brand">
|
||||
|
@ -261,4 +266,12 @@ footer .list-group-item a {
|
|||
background-color: #384d6e;
|
||||
padding: 0.3em 0;
|
||||
}
|
||||
|
||||
.development-notice {
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
background-color: red;
|
||||
padding: 1em 0;
|
||||
font-weight: bold;
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -15,7 +15,7 @@ const host = window.location.host;
|
|||
const parts = host.split(".");
|
||||
// const domainLength = 2; // route1.example.com => domain length = 3
|
||||
let router, app;
|
||||
// let routes;
|
||||
// exmample change
|
||||
if (parts[0] === "doi") {
|
||||
router = route1;
|
||||
app = App2;
|
||||
|
|
|
@ -193,8 +193,8 @@
|
|||
<div class="columns is-mobile partner-logos">
|
||||
<div class="column col-sm text-center">
|
||||
<a target="_blank" href="https://www.re3data.org/repository/r3d100013400"
|
||||
><img src="@/assets/site/img/re3-data-logo-mono.jpg" alt="re3 data logo"
|
||||
/></a>
|
||||
><img src="@/assets/site/img/re3-data-logo-mono.jpg" alt="re3 data logo"/>
|
||||
</a>
|
||||
</div>
|
||||
<div class="column col-sm text-center">
|
||||
<a target="_blank" href="http://www.geosphere.at/">
|
||||
|
|
|
@ -5,6 +5,7 @@ const webpack = require("webpack");
|
|||
const { VueLoaderPlugin } = require("vue-loader");
|
||||
|
||||
module.exports = {
|
||||
lintOnSave: false,
|
||||
publicPath: "/",
|
||||
chainWebpack: (config) => {
|
||||
const vueRule = config.module.rule("vue");
|
||||
|
|
Loading…
Reference in New Issue
Block a user