- var items = [
{ name: '英雄聯(lián)盟',
url: '/lol'
}
];#sidebar-wrapper
ul.sidebar-nav
each item in items
li
a(href='#')= item.nameError: /Users/Dave/study/live-streaming-crawler/views/sidebar.jade:21| - var items = [2| {3| name: '英雄聯(lián)盟',4| url: '/lol'5| }unexpected text {怎么樣才能正常的多行聲明變量呢?寫在一行里有點奇怪
jade(pug)怎么多行聲明變量?
慕的地6264312
2018-09-18 09:13:16