Use #app-root
instead of #vue-root
so as to be more general
This commit is contained in:
parent
b16fe24ddc
commit
daa2075437
@ -2,7 +2,7 @@ import classes from '../styles/atat.scss'
|
||||
import Vue from 'vue/dist/vue'
|
||||
|
||||
const app = new Vue({
|
||||
el: '#vue-root',
|
||||
el: '#app-root',
|
||||
methods: {
|
||||
closeModal: function(name) {
|
||||
this.modals[name] = false
|
||||
@ -19,5 +19,3 @@ const app = new Vue({
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
console.log('hello from index')
|
||||
|
@ -1,4 +1,4 @@
|
||||
body {
|
||||
#app-root {
|
||||
background-color: $color-gray-lightest;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
@ -15,7 +15,7 @@
|
||||
</head>
|
||||
<body class="{% if g.modalOpen %} modalOpen{% endif %}">
|
||||
|
||||
<div id='vue-root'>
|
||||
<div id='app-root'>
|
||||
{% block template_vars %}{% endblock %}
|
||||
|
||||
{% include 'navigation/topbar.html' %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user