mirror of
https://github.com/nkanaev/yarr.git
synced 2026-07-15 11:06:31 +00:00
frontend: import index template
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import Vue from 'vue/dist/vue.esm.js'
|
||||
import i18n from './i18n'
|
||||
import api from './api'
|
||||
import template from './templates/index.html' with {type: 'text'}
|
||||
|
||||
var app = window.app
|
||||
|
||||
@@ -209,6 +210,7 @@ Vue.component('relative-time', {
|
||||
Vue.use(i18n)
|
||||
|
||||
var vm = new Vue({
|
||||
template: template,
|
||||
created: function() {
|
||||
this.refreshStats()
|
||||
.then(this.refreshFeeds.bind(this))
|
||||
|
||||
Reference in New Issue
Block a user