Vuestrap Base Components extend Bootstrap 4 with vuestrap web components built with Vue.js and Webpack.
For compiled components, use it within your Vue instance like this:
new Vue({
el: '#app',
components: { 'alert': vuestrapBase.alert }
})
-- OR --
If you chosen to work with source components, just import* desired component like so:
import alert from 'vuestrap-alert/src/components/alert'
and then load it in your Vue instance:
new Vue({
el: '#app',
components: { 'vs-alert': alert }
})
*Note: You will need Babel Loader in your Webpack config file to support ES6 syntax.
You can then use icon component in your html, like so:
<vs-alert>Hello</vs-alert>
- document events
- testing