Here is my situation:
<div data-identifier='app'>
...
</div>
This is the Vue js code I am working with:
var app = new Vue({
el: '[data-identifier]',
data: {
},
methods: {
}
});
However, it appears that Vue does not recognize the [data-identifier]
CSS selector.
Is there a way to utilize attribute CSS selector in Vue js?