Compare commits

...

13 Commits

5 changed files with 18 additions and 3 deletions

View File

@ -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",

View File

@ -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>

View File

@ -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;

View File

@ -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/">

View File

@ -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");