I am having trouble getting symbols in the outline sidebar using JS ES6. (Old skool JS works fine)
import FeedsCollection from '@/modules/core/feeds/api/collection'
export default {
name: 'FeedsCollectionApi',
mixins: [
FeedsCollection
],
data () {
return {
state: {
view: {
sort: {
by: 'created:asc'
}
}
}
}
},
created () {
console.info('FeedsCollection#created')
}
}
This code shows no symbols. In the outline it shows a message “No symbols found in the current document”.
I’ve checked that indexing is on and that my files are not being excluded. But still no symbols. Do I conclude that ES6 symbols aren’t supported out-of-the-box and that I need to write an extension … surely not?!
Appreciate any help.