-
Notifications
You must be signed in to change notification settings - Fork 34
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
Deploy Issue #11
Comments
I haven't tried deploying it to Netlify specifically. Please keep in mind that the version of the app in the repo is a server rendered application. You can deploy it to Now, since they know how to turn the server requirement of the app into a serverless lambda function automatically, but with Netflify you'd have to find out a way to get a server running in the background somehow. Just serving the static files from |
Sorry, I don't understand the question... |
Ok, i need use simple-i18n in a Next Server Side Rendering project. Is that possible? Thanks |
The example as written currently is written as a Server Sendered App (i.e. the app is run by running a server which needs a server process running (using It's also possible to use this approach with only small modifications if you want to pre-render all pages at build time -- see this issue/comment for some discussion on how to implement it: #5 (comment) If you choose SSG (server side generated) approach you should be able to deploy to Netlify similar to how you were trying to do in the initial post. |
Hi, i try to deploy to Netlify:
"scripts": {
"dev": "next",
"build": "next build && next export",
"start": "serve ./out",
"lint": "eslint . --ext .ts,.tsx"
}
But don't works. Any idea?
Thanks
The text was updated successfully, but these errors were encountered: