Godofbrowser / vuejs-dialog

A lightweight, promise based alert, prompt and confirm dialog
351 stars 109 forks source link

Rapid development with webpack-dev-server #23

Closed hjortzen closed 6 years ago

hjortzen commented 6 years ago

1 Adding webpack-dev-server and adjusting the imports to link to plugin instead of manually copying the distribution file.

Make changes in source (i.e. app.vue, dialog-window.vue) and see how browser updates without interaction at file-save.

Docs-application imports vue-dialog by referencing the plugin-directory instead of referencing the dist-version. Otherwise changes within plugin/* won't be detected. With that change the need for copy-to-docs doesn't exist, thus also removed. The docs-application will include its merged app.main.js file and vue-dialog.js will be a part of that file.

Godofbrowser commented 6 years ago

Great stuff! @hjortzen Thanks a lot