This repository has been archived by the owner on Nov 13, 2023. It is now read-only.
- Brings back CSS extraction. This was causing issues with SSR apps since
document
was not defined. #13
The biggest change here is that you'll need to include the CSS file when using this component, i.e.
<template>
<TwentyTwenty
before="//placehold.it/600x200/E8117F/FFFFFF"
after="//placehold.it/600x200/CCCCCC/FFFFFF" />
</template>
<script>
// NEW: Include the CSS file
import 'vue-twentytwenty/dist/vue-twentytwenty.css';
import TwentyTwenty from 'vue-twentytwenty';
export default {
components: {
TwentyTwenty
}
};
</script>