by sharpercoder · 8y ago · 0 comments
I really like Vue for the many great strong points it offers. But I'm equally ready to completely ditch Vue for its complete and utter garbage with respect to build/debug configuration.
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
Production version: <script src="https://cdn.jsdelivr.net/npm/vue"></script>
If you need something more complex, vue-cli has webpack inbuilt: vue init webpack my-project
cd my-project
npm install
npm run dev
Or if you need webpack, but not the complexity, swap the word 'webpack' in the above command to 'webpack-simple'.... Vue has already done the hard work of getting the build apps configured for you.
Probably, but Vue only officially supports Webpack or Browserify.