admin icon indicating copy to clipboard operation
admin copied to clipboard

Fix views for go mod.

Open onrik opened this issue 6 years ago • 3 comments

If you build your project using go modules assets from admin/views will not downloaded.

onrik avatar Feb 25 '19 13:02 onrik

If this was supposed to fix the nil pointer exception caused by the template files not being present (mentioned in #56), it does not fix it, unfortunately.

preslavrachev avatar Dec 22 '19 18:12 preslavrachev

I wrote a quick hack to pull the views I need at run-time once. I was able to get qor to work with go mod and go 1.13. For my needs I .gitignore the generated apps and admin folders, since I only need to use qor for DB model management. I call generateQorViews just before web server runs

https://gist.github.com/Krajiyah/ad1de0b61df0e9d19965d264ddf97787

Krajiyah avatar Jan 30 '20 03:01 Krajiyah

you can use vend for downloading template files.

https://github.com/nomad-software/vend

lutfuahmet avatar Oct 24 '20 10:10 lutfuahmet