You've already forked AstralRinth
forked from didirus/AstralRinth
Fix lint (again)
This commit is contained in:
@@ -9,12 +9,10 @@ import {
|
|||||||
ClientIcon,
|
ClientIcon,
|
||||||
PlusIcon,
|
PlusIcon,
|
||||||
SettingsIcon,
|
SettingsIcon,
|
||||||
Button,
|
|
||||||
Avatar,
|
Avatar,
|
||||||
} from 'omorphia'
|
} from 'omorphia'
|
||||||
import { useTheming, useInstances } from '@/store/state'
|
import { useTheming, useInstances } from '@/store/state'
|
||||||
import { toggleTheme } from '@/helpers/theme'
|
import { toggleTheme } from '@/helpers/theme'
|
||||||
import Instance from '@/components/ui/Instance.vue'
|
|
||||||
|
|
||||||
const route = useRoute()
|
const route = useRoute()
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
@@ -39,7 +37,9 @@ watch(theme, (newState) => {
|
|||||||
<RouterLink to="/" class="button-base nav-button"><ClientIcon /></RouterLink>
|
<RouterLink to="/" class="button-base nav-button"><ClientIcon /></RouterLink>
|
||||||
<RouterLink to="/browse" class="button-base nav-button"> <SearchIcon /></RouterLink>
|
<RouterLink to="/browse" class="button-base nav-button"> <SearchIcon /></RouterLink>
|
||||||
<RouterLink to="/library" class="button-base nav-button"> <BookIcon /></RouterLink>
|
<RouterLink to="/library" class="button-base nav-button"> <BookIcon /></RouterLink>
|
||||||
<button color="primary" class="button-base primary nav-button" icon-only><PlusIcon /></button>
|
<button color="primary" class="button-base primary nav-button" icon-only>
|
||||||
|
<PlusIcon />
|
||||||
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="settings pages-list">
|
<div class="settings pages-list">
|
||||||
@@ -194,7 +194,7 @@ watch(theme, (newState) => {
|
|||||||
.nav-button {
|
.nav-button {
|
||||||
height: 3rem;
|
height: 3rem;
|
||||||
width: 3rem;
|
width: 3rem;
|
||||||
padding: .75rem;
|
padding: 0.75rem;
|
||||||
border-radius: var(--radius-md);
|
border-radius: var(--radius-md);
|
||||||
|
|
||||||
svg {
|
svg {
|
||||||
|
|||||||
@@ -1,13 +1,25 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import {ChevronLeftIcon, ChevronRightIcon} from 'omorphia'
|
import { ChevronLeftIcon, ChevronRightIcon } from 'omorphia'
|
||||||
import Instance from '@/components/ui/Instance.vue'
|
import Instance from '@/components/ui/Instance.vue'
|
||||||
import News from '@/components/ui/News.vue'
|
import { ref } from 'vue'
|
||||||
import {onMounted, onUnmounted, ref} from 'vue'
|
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
instances: Array,
|
instances: {
|
||||||
news: Array,
|
type: Array,
|
||||||
label: String,
|
default() {
|
||||||
|
return []
|
||||||
|
},
|
||||||
|
},
|
||||||
|
news: {
|
||||||
|
type: Array,
|
||||||
|
default() {
|
||||||
|
return []
|
||||||
|
},
|
||||||
|
},
|
||||||
|
label: {
|
||||||
|
type: String,
|
||||||
|
default: '',
|
||||||
|
},
|
||||||
canPaginate: Boolean,
|
canPaginate: Boolean,
|
||||||
})
|
})
|
||||||
const allowPagination = ref(false)
|
const allowPagination = ref(false)
|
||||||
@@ -16,9 +28,6 @@ const newsRow = ref(null)
|
|||||||
// Remove after state is populated with real data
|
// Remove after state is populated with real data
|
||||||
const shouldRenderNormalInstances = props.instances && props.instances?.length !== 0
|
const shouldRenderNormalInstances = props.instances && props.instances?.length !== 0
|
||||||
const shouldRenderNews = props.news && props.news?.length !== 0
|
const shouldRenderNews = props.news && props.news?.length !== 0
|
||||||
onUnmounted(() => {
|
|
||||||
if (props.canPaginate) window.removeEventListener('resize', handlePaginationDisplay)
|
|
||||||
})
|
|
||||||
const handleLeftPage = () => {
|
const handleLeftPage = () => {
|
||||||
if (shouldRenderNormalInstances) modsRow.value.scrollLeft -= 170
|
if (shouldRenderNormalInstances) modsRow.value.scrollLeft -= 170
|
||||||
else if (shouldRenderNews) newsRow.value.scrollLeft -= 170
|
else if (shouldRenderNews) newsRow.value.scrollLeft -= 170
|
||||||
@@ -32,10 +41,10 @@ const handleRightPage = () => {
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="header">
|
<div class="header">
|
||||||
<p>{{ props.label }}</p>
|
<p>{{ props.label }}</p>
|
||||||
<hr>
|
<hr />
|
||||||
<div v-if="allowPagination" class="pagination">
|
<div v-if="allowPagination" class="pagination">
|
||||||
<ChevronLeftIcon @click="handleLeftPage"/>
|
<ChevronLeftIcon @click="handleLeftPage" />
|
||||||
<ChevronRightIcon @click="handleRightPage"/>
|
<ChevronRightIcon @click="handleRightPage" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<section ref="modsRow" class="instances">
|
<section ref="modsRow" class="instances">
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
<script setup>
|
<script setup>
|
||||||
import {ChevronLeftIcon, ChevronRightIcon} from 'omorphia'
|
import { ChevronLeftIcon, ChevronRightIcon } from 'omorphia'
|
||||||
import Instance from '@/components/ui/Instance.vue'
|
import Instance from '@/components/ui/Instance.vue'
|
||||||
import News from '@/components/ui/News.vue'
|
import News from '@/components/ui/News.vue'
|
||||||
import {onMounted, onUnmounted, ref} from 'vue'
|
import { onMounted, onUnmounted, ref } from 'vue'
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
instances: {
|
instances: {
|
||||||
@@ -61,23 +61,23 @@ const handleRightPage = () => {
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="header">
|
<div class="header">
|
||||||
<p>{{ props.label }}</p>
|
<p>{{ props.label }}</p>
|
||||||
<hr aria-hidden="true"/>
|
<hr aria-hidden="true" />
|
||||||
<div v-if="allowPagination" class="pagination">
|
<div v-if="allowPagination" class="pagination">
|
||||||
<ChevronLeftIcon @click="handleLeftPage"/>
|
<ChevronLeftIcon @click="handleLeftPage" />
|
||||||
<ChevronRightIcon @click="handleRightPage"/>
|
<ChevronRightIcon @click="handleRightPage" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<section v-if="shouldRenderNormalInstances" ref="modsRow" class="instances">
|
<section v-if="shouldRenderNormalInstances" ref="modsRow" class="instances">
|
||||||
<Instance
|
<Instance
|
||||||
v-for="instance in props.instances"
|
v-for="instance in props.instances"
|
||||||
:key="instance.id"
|
:key="instance.id"
|
||||||
display="card"
|
display="card"
|
||||||
:instance="instance"
|
:instance="instance"
|
||||||
class="row-instance"
|
class="row-instance"
|
||||||
/>
|
/>
|
||||||
</section>
|
</section>
|
||||||
<section ref="newsRow" class="news" v-else-if="shouldRenderNews">
|
<section v-else-if="shouldRenderNews" ref="newsRow" class="news">
|
||||||
<News v-for="news in props.news" :key="news.id" :news="news"/>
|
<News v-for="actualNews in props.news" :key="actualNews.id" :news="actualNews" />
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -18,10 +18,17 @@ const props = defineProps({
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<RouterLink v-if="display === 'list'" class="instance-list-item" :to="`/instance/${props.instance.id}`">{{
|
<RouterLink
|
||||||
props.instance.name
|
v-if="display === 'list'"
|
||||||
}}</RouterLink>
|
class="instance-list-item"
|
||||||
<Card class="instance-card-item" v-else-if="display === 'card'" @click="this.$router.push(`/instance/${props.instance.id}`)">
|
:to="`/instance/${props.instance.id}`"
|
||||||
|
>{{ props.instance.name }}</RouterLink
|
||||||
|
>
|
||||||
|
<Card
|
||||||
|
v-else-if="display === 'card'"
|
||||||
|
class="instance-card-item"
|
||||||
|
@click="$router.push(`/instance/${props.instance.id}`)"
|
||||||
|
>
|
||||||
<img :src="props.instance.img" alt="Trending mod card" />
|
<img :src="props.instance.img" alt="Trending mod card" />
|
||||||
<div class="project-info">
|
<div class="project-info">
|
||||||
<p class="title">{{ props.instance.name }}</p>
|
<p class="title">{{ props.instance.name }}</p>
|
||||||
|
|||||||
@@ -2,9 +2,9 @@
|
|||||||
<div class="instance-container">
|
<div class="instance-container">
|
||||||
<div class="side-cards">
|
<div class="side-cards">
|
||||||
<Card class="instance-card">
|
<Card class="instance-card">
|
||||||
<Avatar size="lg" :src="getInstance(instances).img"/>
|
<Avatar size="lg" :src="getInstance(instances).img" />
|
||||||
<div class="instance-info">
|
<div class="instance-info">
|
||||||
<h2 class="name">{{getInstance(instances).name}}</h2>
|
<h2 class="name">{{ getInstance(instances).name }}</h2>
|
||||||
Fabric {{ getInstance(instances).version }}
|
Fabric {{ getInstance(instances).version }}
|
||||||
</div>
|
</div>
|
||||||
<span class="button-group">
|
<span class="button-group">
|
||||||
@@ -18,40 +18,40 @@
|
|||||||
</span>
|
</span>
|
||||||
</Card>
|
</Card>
|
||||||
<div class="pages-list">
|
<div class="pages-list">
|
||||||
<RouterLink :to="`/instance/${this.$route.params.id}/`" class="btn">
|
<RouterLink :to="`/instance/${$route.params.id}/`" class="btn">
|
||||||
<BoxIcon/>
|
<BoxIcon />
|
||||||
Mods
|
Mods
|
||||||
</RouterLink>
|
</RouterLink>
|
||||||
<RouterLink :to="`/instance/${this.$route.params.id}/options`" class="btn">
|
<RouterLink :to="`/instance/${$route.params.id}/options`" class="btn">
|
||||||
<SettingsIcon/>
|
<SettingsIcon />
|
||||||
Options
|
Options
|
||||||
</RouterLink>
|
</RouterLink>
|
||||||
<RouterLink :to="`/instance/${this.$route.params.id}/logs`" class="btn">
|
<RouterLink :to="`/instance/${$route.params.id}/logs`" class="btn">
|
||||||
<FileIcon/>
|
<FileIcon />
|
||||||
Logs
|
Logs
|
||||||
</RouterLink>
|
</RouterLink>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<Promotion />
|
<Promotion />
|
||||||
<router-view/>
|
<router-view />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script setup>
|
<script setup>
|
||||||
import {BoxIcon, SettingsIcon, FileIcon, Button, Avatar, Card, Promotion} from 'omorphia'
|
import { BoxIcon, SettingsIcon, FileIcon, Button, Avatar, Card, Promotion } from 'omorphia'
|
||||||
import {PlayIcon, OpenFolderIcon} from "@/assets/icons";
|
import { PlayIcon, OpenFolderIcon } from '@/assets/icons'
|
||||||
import {useInstances} from '@/store/state'
|
import { useInstances } from '@/store/state'
|
||||||
|
|
||||||
const instances = useInstances();
|
const instances = useInstances()
|
||||||
instances.fetchInstances();
|
instances.fetchInstances()
|
||||||
</script>
|
</script>
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
methods: {
|
methods: {
|
||||||
getInstance(instances) {
|
getInstance(instances) {
|
||||||
return instances.instances.find((i) => i.id === parseInt(this.$route.params.id));
|
return instances.instances.find((i) => i.id === parseInt(this.$route.params.id))
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -4,21 +4,21 @@
|
|||||||
<DropdownSelect :options="['logs/latest.log']" />
|
<DropdownSelect :options="['logs/latest.log']" />
|
||||||
<div class="button-group">
|
<div class="button-group">
|
||||||
<Button>
|
<Button>
|
||||||
<ClipboardCopyIcon/>
|
<ClipboardCopyIcon />
|
||||||
Copy
|
Copy
|
||||||
</Button>
|
</Button>
|
||||||
<Button color="primary">
|
<Button color="primary">
|
||||||
<SendIcon/>
|
<SendIcon />
|
||||||
Share
|
Share
|
||||||
</Button>
|
</Button>
|
||||||
<Button color="danger">
|
<Button color="danger">
|
||||||
<TrashIcon/>
|
<TrashIcon />
|
||||||
Delete
|
Delete
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="log-text">
|
<div class="log-text">
|
||||||
<div v-for="line in fileContents.value.split('\n')"> {{ line }} </div>
|
<div v-for="(line, index) in fileContents.value.split('\n')" :key="index">{{ line }}</div>
|
||||||
</div>
|
</div>
|
||||||
</Card>
|
</Card>
|
||||||
</template>
|
</template>
|
||||||
@@ -27,66 +27,66 @@
|
|||||||
import { Card, Button, TrashIcon, SendIcon, ClipboardCopyIcon, DropdownSelect } from 'omorphia'
|
import { Card, Button, TrashIcon, SendIcon, ClipboardCopyIcon, DropdownSelect } from 'omorphia'
|
||||||
</script>
|
</script>
|
||||||
<script>
|
<script>
|
||||||
|
export default {
|
||||||
export default {
|
data() {
|
||||||
data() {
|
return {
|
||||||
return {
|
fileContents: {
|
||||||
fileContents: {
|
value:
|
||||||
value: "'ServerLevel[New World]'/minecraft:the_end\n" +
|
"'ServerLevel[New World]'/minecraft:the_end\n" +
|
||||||
"[22:13:02] [Server thread/INFO]: venashial lost connection: Disconnected\n" +
|
'[22:13:02] [Server thread/INFO]: venashial lost connection: Disconnected\n' +
|
||||||
"[22:13:02] [Server thread/INFO]: venashial left the game\n" +
|
'[22:13:02] [Server thread/INFO]: venashial left the game\n' +
|
||||||
"[22:13:02] [Server thread/INFO]: Stopping singleplayer server as player logged out\n" +
|
'[22:13:02] [Server thread/INFO]: Stopping singleplayer server as player logged out\n' +
|
||||||
"[22:13:02] [Server thread/INFO]: Stopping server\n" +
|
'[22:13:02] [Server thread/INFO]: Stopping server\n' +
|
||||||
"[22:13:02] [Server thread/INFO]: Saving players\n" +
|
'[22:13:02] [Server thread/INFO]: Saving players\n' +
|
||||||
"[22:13:02] [Server thread/INFO]: Saving worlds\n" +
|
'[22:13:02] [Server thread/INFO]: Saving worlds\n' +
|
||||||
"[22:13:02] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:overworld\n" +
|
"[22:13:02] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:overworld\n" +
|
||||||
"[22:13:05] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_nether\n" +
|
"[22:13:05] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_nether\n" +
|
||||||
"[22:13:05] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_end\n" +
|
"[22:13:05] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_end\n" +
|
||||||
"[22:13:05] [Server thread/INFO]: ThreadedAnvilChunkStorage (New World): All chunks are saved\n" +
|
'[22:13:05] [Server thread/INFO]: ThreadedAnvilChunkStorage (New World): All chunks are saved\n' +
|
||||||
"[22:13:05] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved\n" +
|
'[22:13:05] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved\n' +
|
||||||
"[22:13:05] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved\n" +
|
'[22:13:05] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved\n' +
|
||||||
"[22:13:05] [Server thread/INFO]: ThreadedAnvilChunkStorage: All dimensions are saved\n" +
|
'[22:13:05] [Server thread/INFO]: ThreadedAnvilChunkStorage: All dimensions are saved\n' +
|
||||||
"[22:13:06] [Render thread/INFO]: Stopping worker threads\n" +
|
'[22:13:06] [Render thread/INFO]: Stopping worker threads\n' +
|
||||||
"[22:13:07] [Render thread/INFO]: Stopping!\n" +
|
'[22:13:07] [Render thread/INFO]: Stopping!\n' +
|
||||||
"[22:13:07] [CraftPresence-ShutDown-Handler/INFO]: Shutting down CraftPresence...\n" +
|
'[22:13:07] [CraftPresence-ShutDown-Handler/INFO]: Shutting down CraftPresence...\n' +
|
||||||
"'ServerLevel[New World]'/minecraft:the_end\n" +
|
"'ServerLevel[New World]'/minecraft:the_end\n" +
|
||||||
"[22:13:02] [Server thread/INFO]: venashial lost connection: Disconnected\n" +
|
'[22:13:02] [Server thread/INFO]: venashial lost connection: Disconnected\n' +
|
||||||
"[22:13:02] [Server thread/INFO]: venashial left the game\n" +
|
'[22:13:02] [Server thread/INFO]: venashial left the game\n' +
|
||||||
"[22:13:02] [Server thread/INFO]: Stopping singleplayer server as player logged out\n" +
|
'[22:13:02] [Server thread/INFO]: Stopping singleplayer server as player logged out\n' +
|
||||||
"[22:13:02] [Server thread/INFO]: Stopping server\n" +
|
'[22:13:02] [Server thread/INFO]: Stopping server\n' +
|
||||||
"[22:13:02] [Server thread/INFO]: Saving players\n" +
|
'[22:13:02] [Server thread/INFO]: Saving players\n' +
|
||||||
"[22:13:02] [Server thread/INFO]: Saving worlds\n" +
|
'[22:13:02] [Server thread/INFO]: Saving worlds\n' +
|
||||||
"[22:13:02] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:overworld\n" +
|
"[22:13:02] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:overworld\n" +
|
||||||
"[22:13:05] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_nether\n" +
|
"[22:13:05] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_nether\n" +
|
||||||
"[22:13:05] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_end\n" +
|
"[22:13:05] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_end\n" +
|
||||||
"[22:13:05] [Server thread/INFO]: ThreadedAnvilChunkStorage (New World): All chunks are saved\n" +
|
'[22:13:05] [Server thread/INFO]: ThreadedAnvilChunkStorage (New World): All chunks are saved\n' +
|
||||||
"[22:13:05] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved\n" +
|
'[22:13:05] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved\n' +
|
||||||
"[22:13:05] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved\n" +
|
'[22:13:05] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved\n' +
|
||||||
"[22:13:05] [Server thread/INFO]: ThreadedAnvilChunkStorage: All dimensions are saved\n" +
|
'[22:13:05] [Server thread/INFO]: ThreadedAnvilChunkStorage: All dimensions are saved\n' +
|
||||||
"[22:13:06] [Render thread/INFO]: Stopping worker threads\n" +
|
'[22:13:06] [Render thread/INFO]: Stopping worker threads\n' +
|
||||||
"[22:13:07] [Render thread/INFO]: Stopping!\n" +
|
'[22:13:07] [Render thread/INFO]: Stopping!\n' +
|
||||||
"[22:13:07] [CraftPresence-ShutDown-Handler/INFO]: Shutting down CraftPresence...\n" +
|
'[22:13:07] [CraftPresence-ShutDown-Handler/INFO]: Shutting down CraftPresence...\n' +
|
||||||
"'ServerLevel[New World]'/minecraft:the_end\n" +
|
"'ServerLevel[New World]'/minecraft:the_end\n" +
|
||||||
"[22:13:02] [Server thread/INFO]: venashial lost connection: Disconnected\n" +
|
'[22:13:02] [Server thread/INFO]: venashial lost connection: Disconnected\n' +
|
||||||
"[22:13:02] [Server thread/INFO]: venashial left the game\n" +
|
'[22:13:02] [Server thread/INFO]: venashial left the game\n' +
|
||||||
"[22:13:02] [Server thread/INFO]: Stopping singleplayer server as player logged out\n" +
|
'[22:13:02] [Server thread/INFO]: Stopping singleplayer server as player logged out\n' +
|
||||||
"[22:13:02] [Server thread/INFO]: Stopping server\n" +
|
'[22:13:02] [Server thread/INFO]: Stopping server\n' +
|
||||||
"[22:13:02] [Server thread/INFO]: Saving players\n" +
|
'[22:13:02] [Server thread/INFO]: Saving players\n' +
|
||||||
"[22:13:02] [Server thread/INFO]: Saving worlds\n" +
|
'[22:13:02] [Server thread/INFO]: Saving worlds\n' +
|
||||||
"[22:13:02] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:overworld\n" +
|
"[22:13:02] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:overworld\n" +
|
||||||
"[22:13:05] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_nether\n" +
|
"[22:13:05] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_nether\n" +
|
||||||
"[22:13:05] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_end\n" +
|
"[22:13:05] [Server thread/INFO]: Saving chunks for level 'ServerLevel[New World]'/minecraft:the_end\n" +
|
||||||
"[22:13:05] [Server thread/INFO]: ThreadedAnvilChunkStorage (New World): All chunks are saved\n" +
|
'[22:13:05] [Server thread/INFO]: ThreadedAnvilChunkStorage (New World): All chunks are saved\n' +
|
||||||
"[22:13:05] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved\n" +
|
'[22:13:05] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved\n' +
|
||||||
"[22:13:05] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved\n" +
|
'[22:13:05] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved\n' +
|
||||||
"[22:13:05] [Server thread/INFO]: ThreadedAnvilChunkStorage: All dimensions are saved\n" +
|
'[22:13:05] [Server thread/INFO]: ThreadedAnvilChunkStorage: All dimensions are saved\n' +
|
||||||
"[22:13:06] [Render thread/INFO]: Stopping worker threads\n" +
|
'[22:13:06] [Render thread/INFO]: Stopping worker threads\n' +
|
||||||
"[22:13:07] [Render thread/INFO]: Stopping!\n" +
|
'[22:13:07] [Render thread/INFO]: Stopping!\n' +
|
||||||
"[22:13:07] [CraftPresence-ShutDown-Handler/INFO]: Shutting down CraftPresence..."
|
'[22:13:07] [CraftPresence-ShutDown-Handler/INFO]: Shutting down CraftPresence...',
|
||||||
}
|
},
|
||||||
};
|
|
||||||
}
|
}
|
||||||
};
|
},
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
|
|||||||
@@ -2,63 +2,59 @@
|
|||||||
<Card class="mod-card">
|
<Card class="mod-card">
|
||||||
<div class="card-row">
|
<div class="card-row">
|
||||||
<div class="iconified-input">
|
<div class="iconified-input">
|
||||||
<SearchIcon/>
|
<SearchIcon />
|
||||||
<input
|
<input v-model="searchFilter" type="text" placeholder="Search Mods" />
|
||||||
type="text"
|
|
||||||
placeholder="Search Mods"
|
|
||||||
v-model="searchFilter"
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
<span class="manage">
|
<span class="manage">
|
||||||
<span class="text-combo">
|
<span class="text-combo">
|
||||||
Sort By
|
Sort By
|
||||||
<DropdownSelect :options="['Name', 'Version', 'Author']" v-model="sortFilter" default-value="Name" class="dropdown"/>
|
<DropdownSelect
|
||||||
|
v-model="sortFilter"
|
||||||
|
:options="['Name', 'Version', 'Author']"
|
||||||
|
default-value="Name"
|
||||||
|
class="dropdown"
|
||||||
|
/>
|
||||||
</span>
|
</span>
|
||||||
<Button color="primary">
|
<Button color="primary">
|
||||||
<PlusIcon />
|
<PlusIcon />
|
||||||
Add Mods
|
Add Mods
|
||||||
</Button>
|
</Button>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="table-container">
|
<div class="table-container">
|
||||||
<div class="table-row table-head">
|
<div class="table-row table-head">
|
||||||
<div class="table-cell table-text">
|
<div class="table-cell table-text">
|
||||||
<Button color="success" iconOnly>
|
<Button color="success" icon-only>
|
||||||
<UpdatedIcon />
|
<UpdatedIcon />
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
<div class="table-cell table-text name-cell"> Name </div>
|
<div class="table-cell table-text name-cell">Name</div>
|
||||||
<div class="table-cell table-text"> Version </div>
|
<div class="table-cell table-text">Version</div>
|
||||||
<div class="table-cell table-text"> Author </div>
|
<div class="table-cell table-text">Author</div>
|
||||||
<div class="table-cell table-text"> Actions </div>
|
<div class="table-cell table-text">Actions</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="table-row" v-for="mod in search" :key="mod.name">
|
<div v-for="mod in search" :key="mod.name" class="table-row">
|
||||||
<div class="table-cell table-text">
|
<div class="table-cell table-text">
|
||||||
<Button v-if="mod.outdated" iconOnly>
|
<Button v-if="mod.outdated" icon-only>
|
||||||
<UpdatedIcon />
|
<UpdatedIcon />
|
||||||
</Button>
|
</Button>
|
||||||
<Button v-else disabled iconOnly>
|
<Button v-else disabled icon-only>
|
||||||
<CheckCircleIcon/>
|
<CheckCircleIcon />
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
<div class="table-cell table-text name-cell">
|
<div class="table-cell table-text name-cell">
|
||||||
<span class="mod-text">
|
<span class="mod-text">
|
||||||
<Avatar :src="mod.icon"/>
|
<Avatar :src="mod.icon" />
|
||||||
{{ mod.name }}
|
{{ mod.name }}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="table-cell table-text"> {{ mod.version }} </div>
|
<div class="table-cell table-text">{{ mod.version }}</div>
|
||||||
<div class="table-cell table-text"> {{ mod.author }} </div>
|
<div class="table-cell table-text">{{ mod.author }}</div>
|
||||||
<div class="table-cell table-text manage">
|
<div class="table-cell table-text manage">
|
||||||
<Button iconOnly>
|
<Button icon-only>
|
||||||
<TrashIcon />
|
<TrashIcon />
|
||||||
</Button>
|
</Button>
|
||||||
<input
|
<input id="switch-1" type="checkbox" class="switch stylized-toggle" checked />
|
||||||
type="checkbox"
|
|
||||||
class="switch stylized-toggle"
|
|
||||||
id="switch-1"
|
|
||||||
checked
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -67,55 +63,66 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
name: "Mods",
|
name: 'Mods',
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
searchFilter: "",
|
searchFilter: '',
|
||||||
sortFilter: "",
|
sortFilter: '',
|
||||||
mods: [
|
mods: [
|
||||||
{
|
{
|
||||||
name: "Fabric API",
|
name: 'Fabric API',
|
||||||
icon: "https://cdn.modrinth.com/data/P7dR8mSH/icon.png",
|
icon: 'https://cdn.modrinth.com/data/P7dR8mSH/icon.png',
|
||||||
version: "0.76.0+1.19.4",
|
version: '0.76.0+1.19.4',
|
||||||
author: "modmuss50",
|
author: 'modmuss50',
|
||||||
description: "Lightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.",
|
description:
|
||||||
outdated: true
|
'Lightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.',
|
||||||
|
outdated: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "Spirit",
|
name: 'Spirit',
|
||||||
icon: "https://cdn.modrinth.com/data/b1LdOZlE/465598dc5d89f67fb8f8de6def21240fa35e3a54.png",
|
icon: 'https://cdn.modrinth.com/data/b1LdOZlE/465598dc5d89f67fb8f8de6def21240fa35e3a54.png',
|
||||||
version: "2.2.4",
|
version: '2.2.4',
|
||||||
author: "CodexAdrian",
|
author: 'CodexAdrian',
|
||||||
description: "Create your own configurable mob spawner!",
|
description: 'Create your own configurable mob spawner!',
|
||||||
outdated: true
|
outdated: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "Botarium",
|
name: 'Botarium',
|
||||||
icon: "https://cdn.modrinth.com/data/2u6LRnMa/98b286b0d541ad4f9409e0af3df82ad09403f179.gif",
|
icon: 'https://cdn.modrinth.com/data/2u6LRnMa/98b286b0d541ad4f9409e0af3df82ad09403f179.gif',
|
||||||
version: "2.0.5",
|
version: '2.0.5',
|
||||||
author: "CodexAdrian",
|
author: 'CodexAdrian',
|
||||||
description: "A crossplatform API for devs that makes transfer and storage of items, fluids and energy easier, as well as some other helpful things",
|
description:
|
||||||
outdated: true
|
'A crossplatform API for devs that makes transfer and storage of items, fluids and energy easier, as well as some other helpful things',
|
||||||
|
outdated: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "Tempad",
|
name: 'Tempad',
|
||||||
icon: "https://cdn.modrinth.com/data/gKNwt7xu/icon.gif",
|
icon: 'https://cdn.modrinth.com/data/gKNwt7xu/icon.gif',
|
||||||
version: "2.2.4",
|
version: '2.2.4',
|
||||||
author: "CodexAdrian",
|
author: 'CodexAdrian',
|
||||||
description: "Create a portal to anywhere from anywhere",
|
description: 'Create a portal to anywhere from anywhere',
|
||||||
outdated: false
|
outdated: false,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "Sodium",
|
name: 'Sodium',
|
||||||
icon: "https://cdn.modrinth.com/data/AANobbMI/icon.png",
|
icon: 'https://cdn.modrinth.com/data/AANobbMI/icon.png',
|
||||||
version: "0.4.10",
|
version: '0.4.10',
|
||||||
author: "jellysquid3",
|
author: 'jellysquid3',
|
||||||
description: "Modern rendering engine and client-side optimization mod for Minecraft",
|
description: 'Modern rendering engine and client-side optimization mod for Minecraft',
|
||||||
outdated: false
|
outdated: false,
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
computed: {
|
||||||
|
search() {
|
||||||
|
const filtered = this.mods.filter((mod) => {
|
||||||
|
return mod.name.toLowerCase().includes(this.searchFilter.toLowerCase())
|
||||||
|
})
|
||||||
|
|
||||||
|
return this.updateSort(filtered, this.sortFilter)
|
||||||
|
},
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
updateSort(projects, sort) {
|
updateSort(projects, sort) {
|
||||||
switch (sort) {
|
switch (sort) {
|
||||||
@@ -148,23 +155,24 @@ export default {
|
|||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
computed: {
|
|
||||||
search() {
|
|
||||||
const filtered = this.mods.filter((mod) => {
|
|
||||||
return mod.name.toLowerCase().includes(this.searchFilter.toLowerCase())
|
|
||||||
})
|
|
||||||
|
|
||||||
return this.updateSort(filtered, this.sortFilter);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<script setup>
|
<script setup>
|
||||||
import { Avatar, Button, TrashIcon, PlusIcon, Card, CheckCircleIcon, SearchIcon, UpdatedIcon, DropdownSelect } from 'omorphia'
|
import {
|
||||||
|
Avatar,
|
||||||
|
Button,
|
||||||
|
TrashIcon,
|
||||||
|
PlusIcon,
|
||||||
|
Card,
|
||||||
|
CheckCircleIcon,
|
||||||
|
SearchIcon,
|
||||||
|
UpdatedIcon,
|
||||||
|
DropdownSelect,
|
||||||
|
} from 'omorphia'
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
|
|||||||
@@ -1,172 +1,132 @@
|
|||||||
<template>
|
<template>
|
||||||
<Card class="settings-card">
|
<Card class="settings-card">
|
||||||
<h2 class="settings-title"> Java </h2>
|
<h2 class="settings-title">Java</h2>
|
||||||
<div class="settings-group">
|
<div class="settings-group">
|
||||||
<h3>Installation</h3>
|
<h3>Installation</h3>
|
||||||
<input
|
<input
|
||||||
type="text"
|
ref="javaPath"
|
||||||
class="input installation-input"
|
v-model="javaPath"
|
||||||
placeholder="/Library/Java/JavaVirtualMachines/zulu-17.jdk/Contents/Home"
|
type="text"
|
||||||
ref="javaPath"
|
class="input installation-input"
|
||||||
v-model="javaPath"
|
placeholder="/Library/Java/JavaVirtualMachines/zulu-17.jdk/Contents/Home"
|
||||||
/>
|
/>
|
||||||
<span class="installation-buttons">
|
<span class="installation-buttons">
|
||||||
<Button @click="saveJavaPath">
|
<Button @click="saveJavaPath">
|
||||||
<SearchIcon/>
|
<SearchIcon />
|
||||||
Auto Detect
|
Auto Detect
|
||||||
</Button>
|
</Button>
|
||||||
<Button @click="saveJavaPath">
|
<Button @click="saveJavaPath">
|
||||||
<BrowseIcon/>
|
<BrowseIcon />
|
||||||
Browse
|
Browse
|
||||||
</Button>
|
</Button>
|
||||||
<Button @click="saveJavaPath">
|
<Button @click="saveJavaPath">
|
||||||
<PlayIcon/>
|
<PlayIcon />
|
||||||
Test
|
Test
|
||||||
</Button>
|
</Button>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<hr class="card-divider">
|
<hr class="card-divider" />
|
||||||
<div class="settings-group">
|
<div class="settings-group">
|
||||||
<h3>Arguments</h3>
|
<h3>Arguments</h3>
|
||||||
<input
|
<input ref="javaArgs" v-model="javaArgs" type="text" class="input installation-input" />
|
||||||
type="text"
|
|
||||||
class="input installation-input"
|
|
||||||
ref="javaArgs"
|
|
||||||
v-model="javaArgs"
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
<hr class="card-divider">
|
<hr class="card-divider" />
|
||||||
<div class="settings-group">
|
<div class="settings-group">
|
||||||
<div class="sliders">
|
<div class="sliders">
|
||||||
<span class="slider">
|
|
||||||
Minimum Memory
|
|
||||||
<Slider
|
|
||||||
v-model="javaMemory"
|
|
||||||
:min="1024"
|
|
||||||
:max="8192"
|
|
||||||
:step="1024"
|
|
||||||
/>
|
|
||||||
</span>
|
|
||||||
<span class="slider">
|
<span class="slider">
|
||||||
Maximum Memory
|
Minimum Memory
|
||||||
<Slider
|
<Slider v-model="javaMemory" :min="1024" :max="8192" :step="1024" />
|
||||||
v-model="javaMemory"
|
</span>
|
||||||
:min="1024"
|
<span class="slider">
|
||||||
:max="8192"
|
Maximum Memory
|
||||||
:step="1024"
|
<Slider v-model="javaMemory" :min="1024" :max="8192" :step="1024" />
|
||||||
/>
|
</span>
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</Card>
|
</Card>
|
||||||
<Card class="settings-card">
|
<Card class="settings-card">
|
||||||
<h2 class="settings-title"> Window </h2>
|
<h2 class="settings-title">Window</h2>
|
||||||
<div class="settings-group">
|
<div class="settings-group">
|
||||||
<div class="settings-group">
|
<div class="settings-group">
|
||||||
<div class="sliders">
|
<div class="sliders">
|
||||||
<span class="slider">
|
<span class="slider">
|
||||||
Width
|
Width
|
||||||
<Slider
|
<Slider v-model="javaMemory" :min="1024" :max="8192" :step="1024" />
|
||||||
v-model="javaMemory"
|
|
||||||
:min="1024"
|
|
||||||
:max="8192"
|
|
||||||
:step="1024"
|
|
||||||
/>
|
|
||||||
</span>
|
</span>
|
||||||
<span class="slider">
|
<span class="slider">
|
||||||
Height
|
Height
|
||||||
<Slider
|
<Slider v-model="javaMemory" :min="1024" :max="8192" :step="1024" />
|
||||||
v-model="javaMemory"
|
|
||||||
:min="1024"
|
|
||||||
:max="8192"
|
|
||||||
:step="1024"
|
|
||||||
/>
|
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="toggle-setting">
|
<div class="toggle-setting">
|
||||||
Start in Fullscreen
|
Start in Fullscreen
|
||||||
<input
|
<input
|
||||||
type="checkbox"
|
id="fullscreen"
|
||||||
id="fullscreen"
|
v-model="fullscreen"
|
||||||
name="fullscreen"
|
type="checkbox"
|
||||||
v-model="fullscreen"
|
name="fullscreen"
|
||||||
class="switch stylized-toggle"
|
class="switch stylized-toggle"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<hr class="card-divider">
|
<hr class="card-divider" />
|
||||||
<div class="settings-group">
|
<div class="settings-group">
|
||||||
<h3>Console</h3>
|
<h3>Console</h3>
|
||||||
<div class="toggle-setting">
|
<div class="toggle-setting">
|
||||||
Show console while game is running
|
Show console while game is running
|
||||||
<input
|
<input
|
||||||
type="checkbox"
|
id="fullscreen"
|
||||||
id="fullscreen"
|
v-model="fullscreen"
|
||||||
name="fullscreen"
|
type="checkbox"
|
||||||
v-model="fullscreen"
|
name="fullscreen"
|
||||||
class="switch stylized-toggle"
|
class="switch stylized-toggle"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="toggle-setting">
|
<div class="toggle-setting">
|
||||||
Close console when game quits
|
Close console when game quits
|
||||||
<input
|
<input
|
||||||
type="checkbox"
|
id="fullscreen"
|
||||||
id="fullscreen"
|
v-model="fullscreen"
|
||||||
name="fullscreen"
|
type="checkbox"
|
||||||
v-model="fullscreen"
|
name="fullscreen"
|
||||||
class="switch stylized-toggle"
|
class="switch stylized-toggle"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="toggle-setting">
|
<div class="toggle-setting">
|
||||||
Show console when game crashes
|
Show console when game crashes
|
||||||
<input
|
<input
|
||||||
type="checkbox"
|
id="fullscreen"
|
||||||
id="fullscreen"
|
v-model="fullscreen"
|
||||||
name="fullscreen"
|
type="checkbox"
|
||||||
v-model="fullscreen"
|
name="fullscreen"
|
||||||
class="switch stylized-toggle"
|
class="switch stylized-toggle"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</Card>
|
</Card>
|
||||||
<Card class="settings-card">
|
<Card class="settings-card">
|
||||||
<h2 class="settings-title"> Commands </h2>
|
<h2 class="settings-title">Commands</h2>
|
||||||
<div class="settings-group">
|
<div class="settings-group">
|
||||||
<div class="toggle-setting">
|
<div class="toggle-setting">
|
||||||
Pre Launch
|
Pre Launch
|
||||||
<input
|
<input ref="javaArgs" v-model="javaArgs" type="text" class="input" />
|
||||||
type="text"
|
|
||||||
class="input"
|
|
||||||
ref="javaArgs"
|
|
||||||
v-model="javaArgs"
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="toggle-setting">
|
<div class="toggle-setting">
|
||||||
Wrapper
|
Wrapper
|
||||||
<input
|
<input ref="javaArgs" v-model="javaArgs" type="text" class="input" />
|
||||||
type="text"
|
|
||||||
class="input"
|
|
||||||
ref="javaArgs"
|
|
||||||
v-model="javaArgs"
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="toggle-setting">
|
<div class="toggle-setting">
|
||||||
Post Launch
|
Post Launch
|
||||||
<input
|
<input ref="javaArgs" v-model="javaArgs" type="text" class="input" />
|
||||||
type="text"
|
|
||||||
class="input"
|
|
||||||
ref="javaArgs"
|
|
||||||
v-model="javaArgs"
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</Card>
|
</Card>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import {Card, Button, SearchIcon, Slider } from 'omorphia'
|
import { Card, Button, SearchIcon, Slider } from 'omorphia'
|
||||||
import {BrowseIcon, PlayIcon} from "@/assets/icons";
|
import { BrowseIcon, PlayIcon } from '@/assets/icons'
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
@@ -177,7 +137,7 @@ import {BrowseIcon, PlayIcon} from "@/assets/icons";
|
|||||||
}
|
}
|
||||||
|
|
||||||
.settings-title {
|
.settings-title {
|
||||||
color: var(--color-contrast)
|
color: var(--color-contrast);
|
||||||
}
|
}
|
||||||
|
|
||||||
.settings-group {
|
.settings-group {
|
||||||
@@ -195,9 +155,8 @@ import {BrowseIcon, PlayIcon} from "@/assets/icons";
|
|||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: .5rem;
|
gap: 0.5rem;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.sliders {
|
.sliders {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import Index from './Index.vue'
|
import Index from './Index.vue'
|
||||||
import Mods from "./Mods.vue";
|
import Mods from './Mods.vue'
|
||||||
import Options from "./Options.vue";
|
import Options from './Options.vue'
|
||||||
import Logs from "./Logs.vue";
|
import Logs from './Logs.vue'
|
||||||
|
|
||||||
export { Index, Mods, Options, Logs }
|
export { Index, Mods, Options, Logs }
|
||||||
@@ -45,9 +45,9 @@ export default new createRouter({
|
|||||||
props: true,
|
props: true,
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
path: '',
|
path: '',
|
||||||
name: 'Mods',
|
name: 'Mods',
|
||||||
component: Instance.Mods,
|
component: Instance.Mods,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: 'options',
|
path: 'options',
|
||||||
@@ -58,9 +58,9 @@ export default new createRouter({
|
|||||||
path: 'logs',
|
path: 'logs',
|
||||||
name: 'Logs',
|
name: 'Logs',
|
||||||
component: Instance.Logs,
|
component: Instance.Logs,
|
||||||
}
|
},
|
||||||
]
|
],
|
||||||
}
|
},
|
||||||
],
|
],
|
||||||
linkActiveClass: 'router-link-active',
|
linkActiveClass: 'router-link-active',
|
||||||
linkExactActiveClass: 'router-link-exact-active',
|
linkExactActiveClass: 'router-link-exact-active',
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import vue from '@vitejs/plugin-vue'
|
|||||||
import alias from '@rollup/plugin-alias'
|
import alias from '@rollup/plugin-alias'
|
||||||
import { resolve } from 'path'
|
import { resolve } from 'path'
|
||||||
import eslint from 'vite-plugin-eslint'
|
import eslint from 'vite-plugin-eslint'
|
||||||
import svgLoader from "vite-svg-loader"
|
import svgLoader from 'vite-svg-loader'
|
||||||
|
|
||||||
const projectRootDir = resolve(__dirname)
|
const projectRootDir = resolve(__dirname)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user