JS Dojo is a Medium publication of tutorials and opinion on Vue.js, covering components, Vuex, directives and comparisons with React.
Commenters link its posts to argue Vue can replace jQuery for simple cases and that Vue supports JSX, during talk of build tooling.
I wouldn't mind a build tool if it didn't require a ton of JavaScript files (looking at you Babel.js).
Recently I had to start a new project and decided to use Go for the back-end and Vue.js for the front-end, but I was concerned about all the tooling that I would need to integrate just to power the front-end side of the website. More so considering that my employer's business has nothing to do with web development so all this overhead would be unjustifiable. I spent several days reading and trying to understand what every tool included by Babel.js was doing until I gave up after the +20th module. It felt like a nightmare to see the gigantic dependency tree inside the "node_modules" folder.
I felt relieved when I found that Vue.js Components don't need to be compiled [1].
I also found this article interesting [2] with information on different approaches.
This is what I ended up with (my own design):
/project/
├── docker-compose.yml
├── Dockerfile
├── README.md
├── backend
│ ├── about.go
│ ├── app.go
│ ├── home.go
│ ├── main.go
└── frontend
├── public
│ ├── app.min.js
│ ├── bootstrap.min.css
│ ├── favicon.ico
│ ├── about.min.js
│ ├── styles.min.css
│ ├── vue.min.js
│ └── vue-res.min.js
└── views
├── base.html.tpl
├── home.html.tpl
└── about.html.tpl
Where "app.min.js" contains the basic Vue.js options…
Vue removed real two-way-binding in 2.0. The v-model you commonly see is just syntax sugar.
Also, here's the obligatory "Vue supports JSX" link: https://medium.com/js-dojo/using-jsx-with-vue-js-846f4fbbf07f
I personally feel that JSX feels a bit "unnatural" compared to Vue's DSL, but that's a matter of opinion. It's always good to have the option :)
You can actually use Vuejs instead of jQuery for simple cases (you can't use React).
https://medium.com/js-dojo/vue-js-is-easier-to-learn-than-jquery-abbbb9c12cf8