eCollect / vue-swipe-actions

iOS style swipe actions
https://ecollect.github.io/vue-swipe-actions/
MIT License
231 stars 48 forks source link

Doesn't render items content #34

Closed DmitryYuroskulov closed 5 years ago

DmitryYuroskulov commented 5 years ago

I do everything as in the example, the left and right slots render perfectly, but the contents of the element do not render.

image

I expected the specified template with data

image

image

nanov commented 5 years ago

Could you share an example repro or a gist, is the example working for you?

I would try and use the v-slot directive anyways.

DmitryYuroskulov commented 5 years ago

@nanov i just try to use. now i try v-slot, and now the left and right slots do not render

test.zip

nanov commented 5 years ago

this file includes only your vue file, what about your application setup and build procedure? at least package.json.

nanov commented 5 years ago

What version of vue are you using?

DmitryYuroskulov commented 5 years ago

@nanov, i use nuxtjs.

package.zip

nanov commented 5 years ago

As far as i can see you are using an outdated version of nuxt, and possibly of vue as well. Also the version of the demo you are using may be somehow outdated. Take a look at the current one.

I am sorry but I cannot really help you without some sort of working ( reproducible ) example.

DmitryYuroskulov commented 5 years ago

@nanov Now i install the latest version and its rendered, but styles broken, can u help? test repos image

nanov commented 5 years ago

Have you included the css provided with the library?

Something like this:

import 'vue-swipe-actions/dist/vue-swipe-actions.css';
DmitryYuroskulov commented 5 years ago

@nanov now its works ;), thank you