dwqs / v2-table

A simple table component based Vue 2.x: https://dwqs.github.io/v2-table/
MIT License
100 stars 24 forks source link

Use withouth webpack #20

Open rubenriskpossible opened 5 years ago

rubenriskpossible commented 5 years ago

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.

dwqs commented 5 years ago

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