1👍
I personally prefer it to be independent and would download the necessary files and integrate it directly.
- Download the development version: https://vuejs.org/js/vue.js and the production version: https://vuejs.org/js/vue.min.js
- Copy this files into the public/js folder
- Add a script tag:
<script src="js/vue.min.js"></script>
1👍
I don’t get what the really point is on your question, but:
In your case I would use a framework like laravel, symfony, zend, …
This gives you routing and stuff.
If you want to write the framework yourself (for learning, like you’ve mentioned) the you should take your brain and implement a concept on how you would like to define the routings.
Concerning VueJs: I think there should be no problem using the CDN-Version. It keeps things simple, until you really need to build VueJS on your development-PC (later within your deployment-process).
As said: Do one step after another. First use the simple way. Implement a simple Routing. Use VueJS from CDN. And when things get serious: Extend the code by your needs. Include VueJS via NPM and stuff like that.