diff --git a/src/components/AnimeView/Contenido.vue b/src/components/AnimeView/Contenido.vue index 7d4e3f8..1182d9b 100644 --- a/src/components/AnimeView/Contenido.vue +++ b/src/components/AnimeView/Contenido.vue @@ -56,6 +56,8 @@ import ProximoEpisodio from './proximoEpisodio.vue' import AnuncioLocal from './anuncioLocal.vue' import ComponenteCarga from '../comp-cargando.vue' + import { global } from "../../global"; + const YAML = require('yaml'); export default { diff --git a/src/components/mi-footer.vue b/src/components/mi-footer.vue index df05afc..01d9174 100644 --- a/src/components/mi-footer.vue +++ b/src/components/mi-footer.vue @@ -1,5 +1,5 @@ diff --git a/src/global.ts b/src/global.ts new file mode 100644 index 0000000..a0a81be --- /dev/null +++ b/src/global.ts @@ -0,0 +1,3 @@ +export let global = { + color: '#23bf87' +}; \ No newline at end of file diff --git a/src/main.ts b/src/main.ts index 8120885..11b2502 100644 --- a/src/main.ts +++ b/src/main.ts @@ -11,8 +11,6 @@ require('./sass/main.sass'); window.miRouter = router; // @ts-ignore window.indiceAnimes = {}; - // @ts-ignore - window.colorActual = '#23bf87'; })(); diff --git a/src/views/AnimeView.vue b/src/views/AnimeView.vue index cfcb70d..7ecdba8 100644 --- a/src/views/AnimeView.vue +++ b/src/views/AnimeView.vue @@ -30,6 +30,7 @@