Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix views for go mod. #178

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix views for go mod. #178

wants to merge 1 commit into from

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants