v2-table icon indicating copy to clipboard operation
v2-table copied to clipboard

Use withouth webpack

Open rubenriskpossible opened this issue 7 years ago • 1 comments

Hi there. I would like to ask you if is it possible to use this component vue without having all the flow with webpack and stuff related. I am a .Net core developer and I really like to use it on old way,.. you know, adding the script tag , css, and just register the component and use it.

Thanks.

rubenriskpossible avatar Oct 27 '18 22:10 rubenriskpossible

The lib's output format is umd, so maybe you can try to use it on old way:

// styles
<link rel="stylesheet" type='text/css' href='path/to/beautify-scrollbar/dist/index.css'>
<link rel="stylesheet" type='text/css' href='path/to/v2-table/dist/index.css'>

// scripts
<script src='path/to/vue.js'></script>
<script src='path/to/beautify-scrollbar/dist/index.js'></script>
<script src='path/to/v2-table/dist/index.js'></script>

Hope it can help you

dwqs avatar Oct 28 '18 12:10 dwqs