Using webpack, you can bundle your component:
$ webpack
This will create our output file in build directory.
build
Open the HTML page in a browser to see component in action