åã³ã³ãã¼ãã³ãã§dataãªãã·ã§ã³ãï¼ãã£ããï¼å®ç¾©ããã¨ããã [Vue warn]: The âdataâ option should be a function that returns a per-instance value in component definitions. ã§æããã¾ããã Vueã®dataããããã£ãelããããã£ã¯ãå ¨ã¤ã³ã¹ã¿ã³ã¹éã§ã¾ããã§åããã®ã使ç¨ãããã¨ãã¨ãªã®ã§ãåã³ã³ãã¼ãã³ãå´ã®dataããããã£ã¯ãªãã¸ã§ã¯ãã¨ãã¦ã§ãªãé¢æ°ã¨ãã¦å®ç¾©ããå¿ è¦ãããã¾ãã Vue.component('child-component', { template:"<some>code</some>", data: function() { return { language: ['English', 'Japaese'] } } })
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}