This commit is contained in:
@@ -1,12 +1,11 @@
|
||||
<script>
|
||||
import { defineAsyncComponent } from 'vue';
|
||||
import Project from '@components/project';
|
||||
import Admin from '@components/admin';
|
||||
import Upload from '@components/upload';
|
||||
|
||||
const aoRoutes = {
|
||||
'project': Project,
|
||||
'admin': Admin,
|
||||
'upload': Upload
|
||||
'project': Project, //Merge app.js and project.js calls to avoid extra http request on inital page
|
||||
'admin': defineAsyncComponent(() => import(/* webpackChunkName: "admin" */ '@components/admin')),
|
||||
'upload': defineAsyncComponent(() => import(/* webpackChunkName: "upload" */ '@components/upload'))
|
||||
};
|
||||
|
||||
export default {
|
||||
|
||||
@@ -19,11 +19,13 @@
|
||||
<meta name="msapplication-TileColor" content="#00a300">
|
||||
<meta name="msapplication-config" content="images/icons/browserconfig.xml?v=GvmqYyKwbb">
|
||||
<meta name="theme-color" content="#ffffff">
|
||||
<script id="app-config" type="application/json">[#]APP_CONFIG[#]</script>
|
||||
<script id="app-config" type="application/json">[#]app_config[#]</script>
|
||||
<title>Spotty</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="container"></div>
|
||||
<script type="module" src="[#]filepath_js[#]"></script>
|
||||
<!-- [PART] entrypoint [START] -->
|
||||
<script defer src="[#]filename[#]"></script>
|
||||
<!-- [PART] entrypoint [END] -->
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user