Paulo De Mitri@paulogdm
How I can use my jQuery PlugIn in Next.js?
Hi, now i have html file for design and have to convert from html to Next.js. I have imported jquery plugin in <Head> of _document.js like this:<Head><script src = '../static/js/jquery.main.js' async/> </Head> But jquery plugin is not working. …
Using jQuery in Next.js
Hi guys, i need help with my application. I have this theme i've bought and imported its files, but their JS files got jQuery as dependency. So when i include this, it comes with an error that says "jQuery is not defined". Have tried some stuff, but without any luck. …
Debugging build issues on v2
So I'm trying to build an example of using ghost on now v2, but I've run into a bit of a roadblock. Unfortunately, the build log output isn't useful, and I'm not sure how I would go about getting any further information out of it. The app builds fine locally, and works fine on…
Problem to host nextjs on now with custom pages location
Hi guys 👋 I encounter a problem to host my nextjs project into now. I moved my pages directory from root to my app directory. I updated my package.json scripts, everything work perfectly in local but when I tried to host the project on now, now continue to search the pages…
Use destination branch with NOW_GITHUB_COMMIT_REF for merge
Hi. We are planning to use process.env.NOW_GITHUB_COMMIT_REF for certain configuration tasks, but when we deploy the app using Now on GitHub from a merge, NOW_GITHUB_COMMIT_REF is the name of the source branch, rather than the destination branch. Is there any way we could use…
Error: No output directory named "public" found.
I'm trying to deploy a monorepo to Now and I constantly get the error "No output directory named "public" found.", I've read the mentioned FAQ, tried "--output-dir public", edited "now.json", but nothing seems to work! Here is my build script in package.json: "build": "npm run…