I am currently trying to use the @ebay/skin package for UI elements in my marko project but they don't seem to be working.
My package.json file looks like this
{
"name": "marko-starter-demo",
"description": "Demo of how to build an app using marko-starter",
"version": "2.0.0",
"dependencies": {
"@ebay/ebayui-core": "^4.3.1",
"@ebay/skin": "^9.3.0",
"axios": "^0.16.2",
"chromedriver": "^77.0.0",
"express": "^4.17.1",
"jquery": "^2",
"marko": "^4.13.10",
"marko-starter": "^2.0.4",
"marko-widgets": "^6.6.6"
},
And my browse.json looks like this
{
"dependencies": [
"require: jquery",
"@ebay/skin",
"@ebay/skin/carousel",
"@ebay/skin/icon",
"page.js",
"custom.less"
]
}
Finally my code looks like this
<div class="carousel">
<div class="carousel__container">
<button class="carousel__control carousel__control--prev" aria-label="Previous Slide - Top Products">
<svg aria-hidden="true" class="icon icon--chevron-left-small" focusable="false" >
<use xlink:href="#icon-chevron-left"></use>
</svg>
</button>
<ul class="carousel__list">
<li>Card 1</li>
<li>Card 2</li>
<li>Card 3</li>
<li>Card 4</li>
<li>Card 5</li>
<li>Card 6</li>
<li>Card 7</li>
<li>Card 8</li>
</ul>
<button class="carousel__control carousel__control--next" aria-label="Next Slide - Top Products">
<svg aria-hidden="true" class="icon icon--chevron-right-small" focusable="false">
<use xlink:href="#icon-chevron-right-small"></use>
</svg>
</button>
</div>
</div>
But I can't seem to get the carousel element to be showing properly on my web page as it looks like this
I should have successfully installed everything, perhaps I am missing an extra reference somewhere?
Any help would be greatly appreciated thanks!