V
V
vladislav9972020-07-23 12:01:21
Vue.js
vladislav997, 2020-07-23 12:01:21

Why doesn't the date work in the template?

Tell me why data (const Foo, data: message) does not work in template ? And how can the template be moved to a separate file?

Here is an example:

Answer the question

In order to leave comments, you need to log in

7 answer(s)
M
Maxim Kirshin, 2020-07-23
@vladislav997

1. data should look different

data () { 
  return {
    message: 'hello'
  } 
},

2. Use .vue single files (vue-cli or configure webpack yourself)

S
Schoolboy., 2015-06-29
@TheMrViper

Wait a second... Textpattern has a mem_self_register plugin that solves the registration problem!

S
Sergey, 2015-01-19
@Derzaiii

Modx Revo - I recommend. I met her myself in September last year and since then I have not been overjoyed.

A
Alexander, 2015-01-20
Madzhugin @Suntechnic

Are you about to launch a Web site and ask questions like this? Please refrain from doing this.

M
Marat, 2015-01-23
@7kmarat

Data Life Engine (DLE)

A
Alexander Nedviga, 2016-07-11
@sanches812

WordPress is the best platform in my opinion. Any type of site can already be purchased among paid templates here: https://themeforest.net/category/wordpress?ref=san...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question