Skip to content

Conversation

@onrik
Copy link

@onrik onrik commented Feb 25, 2019

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

@preslavrachev
Copy link

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.

@Krajiyah
Copy link

Krajiyah commented Jan 30, 2020

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

@lutfuahmet
Copy link

you can use vend for downloading template files.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants