1
0
Fork 0
mirror of https://github.com/Acamaeda/The-Modding-Tree.git synced 2024-11-22 00:21:32 +00:00

Added to tutorial

This commit is contained in:
Acamaeda 2020-10-08 22:42:29 -04:00
parent dc2d588675
commit cafc461cc3
4 changed files with 6 additions and 16 deletions

View file

@ -31,7 +31,9 @@ The benefits of using Github:
A "repository" is basically a "Github project", like The Modding Tree. "Cloning" is A "repository" is basically a "Github project", like The Modding Tree. "Cloning" is
downloading a copy of the repository to your computer. downloading a copy of the repository to your computer.
5. Look for The Modding Tree in the list of repositiories (it should be the only one) and click "clone". It will download the files and handle everything. 5. Look for The Modding Tree in the list of repositiories (it should be the only one) and click "clone".
6. Select that you're using it for your own purposes, and click continue. It will download the files and handle everything.
# Using your repository # Using your repository

View file

@ -24,7 +24,6 @@
</head> </head>
<body onload="load()"> <body onload="load()">
<div id="app"> <div id="app">
<vue-title :title="modInfo.name"></vue-title>
<div v-if="false" id="loadingSection" class="fullWidth"> <div v-if="false" id="loadingSection" class="fullWidth">
<h1>Loading... (If this takes too long it means there was a serious error!)</h1> <h1>Loading... (If this takes too long it means there was a serious error!)</h1>
</div> </div>

View file

@ -407,3 +407,5 @@ var onFocused = false
function focused(x) { function focused(x) {
onFocused = x onFocused = x
} }
document.title = modInfo.name

13
js/v.js
View file

@ -286,19 +286,6 @@ function loadVue() {
` `
}) })
Vue.component('vue-title', {
props: ['title'],
watch: {
title: {
immediate: true,
handler() {
document.title = this.title;
}
}
},
render () {
},
})
app = new Vue({ app = new Vue({
el: "#app", el: "#app",