Switch to history mode in app (#594)

* Switch to history mode in pp

* Remove broken tests

* Install asset manifest

* Only build to modern

* Remove override files in favor of settings

* Build assets json

* Use dynamic routing based on api basepath

* Remove override files

* Set webpack public path based on passed window var

* Fix tests
This commit is contained in:
Rijk van Zanten
2020-05-19 17:16:44 -04:00
committed by GitHub
parent c552364d1f
commit 0c745a6eee
15 changed files with 96 additions and 122 deletions

View File

@@ -7,8 +7,6 @@
<link rel="shortcut icon" href="favicon.ico">
<link rel="manifest" href="manifest.webmanifest" />
<title>Directus</title>
<link rel="stylesheet" href="style.css" />
</head>
<body class="auto">
<noscript>
@@ -16,6 +14,5 @@
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->
<script src="script.js"></script>
</body>
</html>

View File

@@ -1,5 +0,0 @@
/*
* This is a custom script file that is loaded for each instance on each page.
*
* Use to it add whatever client scripts your project might need
*/

View File

@@ -1,7 +0,0 @@
/*
Place your custom style overrides here.
NOTE: The main application's styling is included through JavaScript. Therefore, it gets added to
the head _after_ this file. If you want to override the globally used CSS variables, you can either
use !important, or increase the specificity from :root
*/