Support needed for <script> tag
ph1oneX opened this issue · 3 comments
ph1oneX commented
I am new to Vue JS and prefer script tag instead of Node or npm.
Can any body just send me a sample complete app including which and where script tag should be used?
theomessin commented
Just include
<script src="https://cdn.jsdelivr.net/npm/vue-chat-scroll/dist/vue-chat-scroll.min.js"></script>
after you've included Vue. Usage is the same: https://github.com/theomessin/vue-chat-scroll/tree/1.x#usage
ph1oneX commented
That's OK but can you guide me with a simple example.
ausinetnirmal commented
after adding the cdn library and adding the v-chat-scroll="{smooth: true, notSmoothOnInit: true}" it doesnt have any impact