Comments (3)
Hi @VincentLoy , thank you for reporting this issue!
You don't have to bind the render function anymore with the last release v0.7.7
You should now be able to do:
app.use(nuxt.render)
from nuxt.js.
I solved the problem by binding the render
function 👍
const express = require('express');
const app = express();
const Nuxt = require('nuxt');
const nuxtConfig = require('./config/nuxt.config');
new Nuxt(nuxtConfig).then((nuxt) => {
let render = nuxt.render;
app.use(render.bind(nuxt));
app.listen(3000, function () {
console.log('listening port 3000 -> http://localhost:3000')
});
}).catch((error) => {
console.log(error);
});
from nuxt.js.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
from nuxt.js.
Related Issues (20)
- Limit max number of parallel requests for `useFetch` HOT 1
- Strange behaviour with inline style HOT 1
- onNuxtReady not called after navigateTo in middleware HOT 1
- Project building with page dirrectory routing(nuxt native) and building with nuxt/router(library)
- DefinePageMeta is not accessible without autoimport. HOT 3
- Support global type definition files HOT 2
- MIME/404 error on build/generate with app.baseURL configuration option
- Bad import path suggestions since 3.6.0 HOT 2
- Cannot import file in .nuxt folder from nitro plugin in dev environment HOT 5
- Layer extends fails to deploy on Vercel and Netlify HOT 2
- nuxt generate the symlink dist is neccessary? HOT 2
- Nuxi generate crash using netlify preset HOT 1
- upgrade breaks my build in local and in vercel HOT 2
- Discover that routeRules' proxy has a caching mechanism that prevents sending files larger than 10kb. Didn't you encounter this problem while developing? HOT 1
- Nuxt Layer cannot build when using public folder HOT 3
- Support `async` function for the `prerender:routes` hook. HOT 4
- H3error at Module.createError when fetching data using useAsyncData
- Failed to resolve entry for package "crypto"/"zlib" HOT 4
- /user/ redirect to /user HOT 2
- Running logic post prerender HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nuxt.js.