Replies: 1 comment 1 reply
-
Hi @lovkyndig — sorry the delay on replying here! That site is looking great, I'm glad you were able to resolve the issues by looking at the reference repositories. Feel free to drop any other questions you have here and I'll try to be more prompt in replying! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey!
The problemm is how to use PageFind in a
nuxt
-development, who deploys automatic onVercel
after I pushed it to github....
I have worked with this problem the last two days. The documentation have no examples (for dummies like me) to learn from.
After I find an overview of 63 repos who depend on pagefind, and study the
package.json
-file in some of them, I finally figured out that the key is how the script about pagefind is setup.The script-setup in my
package.json
is now like this:And then I created
pagefind.yml
-file with this content:The process to make it work was like this:
yarn generate
creates first the html-files and then it generate the bundle-dir in the public-directory on the root level.If no errors on yarn generate,
push
the development from thelocal
-machine toGitHub
, and from there toVercel
.Check it out here.
Sorry about my English! Thats why I had to choose law studies in Norwegian:)_
Beta Was this translation helpful? Give feedback.
All reactions