web2py + Vue + Vuetify

112 views
Skip to first unread message

Ariel Antunez

unread,
Jul 1, 2019, 2:20:10 AM7/1/19
to web2py-users
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')}}">


Carlos A

unread,
Jul 1, 2019, 8:27:38 PM7/1/19
to web2py-users

Hi Ariel,

Why not to create an Starter App Template on GitHub? Just an idea.

Actually Iam using  Web2py + Vue + Quasar Framework and it's amazing but Vietify it's amazing too.
Reply all
Reply to author
Forward
0 new messages