-
Hello and thank you for this great plugin. I am having a problem when viewing my daily notes that leverage custom scripts from my iphone. No problem when working with Desktop. I have also tried imports instead of the commonjs syntax but no luck. Any help is appreciated. How I call my view from a daily note.The content of my view.jsThe error I get on mobile |
Beta Was this translation helpful? Give feedback.
Answered by
dgokcin
Aug 31, 2023
Replies: 1 comment 9 replies
-
I don't think DVJS supports imports and I'm surprised it works on desktop. You may want to use another plugin like CustomJS to handle imports. |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello @AB1908 After some time the customjs plugin eventually worked. It took a while for me to realize it works since development using customjs and also views scripts require a lot of restart to obsidian. Adding my code here in case anyone comes across this topic.
Basically, I moved all my functions into a class named DataviewUtils. Like this