ü\Óü¿Æ¼¼Íø

 ÕÒ»ØÃÜÂë
 Á¢¼´×¢²á
mito
²é¿´: 2437|»Ø¸´: 3

¿ª·¢Êý×ÖµçÉÌÆ½Ì¨Vue.js 2.0ÈëÃÅʵս½Ì³Ì

[¸´ÖÆÁ´½Ó]

8Íò

Ö÷Ìâ

608

»ØÌû

27Íò

»ý·Ö

¹ÜÀíÔ±

Rank: 9Rank: 9Rank: 9

»ý·Ö
275170
QQ
·¢±íÓÚ 2018-5-19 10:25:29 | ÏÔʾȫ²¿Â¥²ã |ÔĶÁģʽ
¿ª·¢Êý×ÖµçÉÌÆ½Ì¨Vue 2.0ÈëÃÅʵս½Ì³Ì
×îÈÝÒ×ÉÏÊÖµÄVue 2.0ÈëÃÅʵս½Ì³Ì
¡¶Vue.jsÈëÃÅ»ù´¡¡·½²Ê¦ÇãÇéÍÆ³öµÄʵս¿Î³Ì£¬Ê¹ÓÃVue2.0°æ±¾£¬´øÄã¿ìËÙÈëÃÅVue2.0£¬Íê³É´ÓÈëÃŵ½ÊµÕ½µÄÍêÃÀ¹ý¶É£¬ÎªÖ®ºóʹÓÃVue2.0×ö¸ü¸ß¼¶µÄ¿ª·¢´òϼáʵµÄ»ù´¡
µÚ1Õ ¿Î³Ì¼ò½é
½²½â¿Î³Ì°²ÅÅ£¬ÃæÏóÈËȺ£¬ÒÔ¼°¶Ô¿Î³ÌµÄÏîÄ¿×öÁËЧ¹ûÑÝʾ¡£
µÚ2Õ Vue¼ò½é
¶ÔvueһЩ×î»ù´¡µÄ֪ʶ×öÁ˽²½â£ºÊµÀý¶ÔÏó¡¢vue×é¼þÒÔ¼°vueµÄһЩÏà¹Ø¸ÅÄî¡£
µÚ3Õ ¹¦Äܽӿڣ¨1£©
¶ÔÎı¾äÖȾv-html¡¢v-text¡¢ÁбíäÖȾ v-for Êý×飬¶ÔÏó£¬×Ó×é¼þ£»ÁбíÊý¾ÝµÄͬ²½¸üз½·¨£»vue±êÇ©ÊôÐÔºÍÌõ¼þäÖȾ£»Ê¼þ°ó¶¨-ÄÚÖÃʼþ°ó¶¨¡¢×Ô¶¨Òåʼþ°ó¶¨£»±íµ¥Ê¼þ°ó¶¨£»¼ÆËãÊôÐÔºÍÊý¾Ý¼àÌýµÈ½øÐÐÁ˽²½â¡£
µÚ4Õ ¹¦Äܽӿڣ¨2£©
¶Ô×é¼þÖ®¼äͨÐÅ£»¹ý¶É¶¯»­£ºcssʵÏÖ¹ý¶É¶¯»­£» JSʵÏÖ¹ý¶É¶¯»­£»×Ô¶¨ÒåÖ¸Á²å¼þ£»µ¥Îļþ×é¼þµÈ½øÐÐÁ˽²½â¡£
µÚ5Õ »·¾³´î½¨ºÍ³£Óòå¼þ
¶Ôvue-cli°²×°£»ES6Óï·¨£¬vue-router£¬vuex״̬¹ÜÀí½øÐÐÁ˽²½â¡£
µÚ6Õ ÏîĿʵ¼ù-Ê×Ò³
ʵÏÖÏîÄ¿¿ò¼Ü´î½¨£¬Ê×Ò³£ºÐÅÏ¢ÁÐ±í£¬vue-resourceʵÏÖAjax»ñÈ¡ÐÅÏ¢Êý¾Ý£¬expressÆô¶¯Êý¾Ý·þÎñ¡¢»ÃµÆÆ¬×é¼þ¡¢µÇ¼µÈ½²½â¡£
µÚ7Õ ÏîĿʵ¼ù-¹ºÂòÏêÇéÒ³¡¢¶©µ¥Áбí
¶ÔÏîÄ¿µÄÌí¼Ó·ÓÉ£¬selectÑ¡Ïî×é¼þ£¬¿É¶àÑ¡Ïî×é¼þ£¬Êý×Ö×é¼þ£¬×ܼۼÆË㣬ѡÔñÔñÒøÐУ¬¶©µ¥Áбí×öÁËÏêϸµÄ½²½â¡£
µÚ8Õ ¿Î³ÌÀ©Õ¹
½²½âvuexÔÚ¶¨µ¥ÁбíÒ³ÃæµÄÓ¦Óá£


Óοͣ¬Èç¹ûÄúÒª²é¿´±¾ÌûÒþ²ØÄÚÈÝÇë»Ø¸´



¸ü¶àÌû×ÓÍÆ¼ö

»Ø¸´

ʹÓõÀ¾ß ¾Ù±¨

0

Ö÷Ìâ

1438

»ØÌû

3410

»ý·Ö

ÂÛ̳ԪÀÏ

Rank: 6Rank: 6

»ý·Ö
3410
QQ
·¢±íÓÚ 2018-6-27 11:55:30 | ÏÔʾȫ²¿Â¥²ã
000000000123
»Ø¸´

ʹÓõÀ¾ß ¾Ù±¨

jbn800 ¸ÃÓû§Òѱ»É¾³ý
·¢±íÓÚ 2018-9-10 22:42:49 | ÏÔʾȫ²¿Â¥²ã
Ìáʾ: ×÷Õß±»½ûÖ¹»òɾ³ý ÄÚÈÝ×Ô¶¯ÆÁ±Î
»Ø¸´

ʹÓõÀ¾ß ¾Ù±¨

0

Ö÷Ìâ

2Íò

»ØÌû

4Íò

»ý·Ö

½ûÖ¹·ÃÎÊ

»ý·Ö
41607
·¢±íÓÚ 2021-10-21 18:53:41 | ÏÔʾȫ²¿Â¥²ã
Ìáʾ: ×÷Õß±»½ûÖ¹»òɾ³ý ÄÚÈÝ×Ô¶¯ÆÁ±Î
»Ø¸´

ʹÓõÀ¾ß ¾Ù±¨

QQ|Archiver|ÊÖ»ú°æ|ü\Óü¿Æ¼¼Íø

GMT+8, 2025-11-30 15:10 , Processed in 0.238861 second(s), 27 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

¿ìËٻظ´ ·µ»Ø¶¥²¿ ·µ»ØÁбí