Hi every body.

For some years I have developed Web applications using Web2py, I have 
always liked its simplicity when developing an application. With the 
advancement of the technologies I started to get interested in the SPA app, 
after reading in the group and seeing the recommendations of Maximo, I 
started working on a project. I tried using Vue-cli and it was somewhat 
complicated at the time. Currently I have several applications on web2py + 
vue + vuetify and they work perfect for me using CDN mode.

I use a very simple structure:


Inside the layout.html

{{

response.files.insert(0, URL('static', 'vuejs/js/vue.min.js'))

response.files.insert(1, URL('static', 'vuejs/js/vue-resources.min.js'))

response.files.insert(2, URL('static', 'vuejs/js/vue-router.min.js'))

response.files.insert(3, URL('static', 'vuejs/js/vuex.min.js'))

response.files.insert(4, URL('static', 'vuejs/js/vuetify.min.js'))

}}


...

{{include 'web2py_vue.html'}}

...

<script src="{{=URL('static', 'vuejs/app/templates.js')}}">

<script src="{{=URL('static', 'vuejs/app/store.js')}}">

<script src="{{=URL('static', 'vuejs/app/router.js')}}">

<script src="{{=URL('static', 'vuejs/app/components.js')}}">

<script src="{{=URL('static', 'vuejs/app/app.js')}}">


-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/ed459739-f24b-4d91-bdc9-1d0fa2923a45%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to