Skip to content

Antoinebr/nuxt-demo

Repository files navigation

PWA nuxt demo 🔥

A project to discover what can be don with nuxt.js

Live demo 🚀

https://nuxt.antoinebrossault.com

Build Setup

# install dependencies
$ npm install # Or yarn install

# serve with hot reload at localhost:3000
$ npm run dev

# build for production and launch server
$ npm run build
$ npm start

# generate static project
$ npm run generate

For detailed explanation on how things work, checkout the Nuxt.js docs.

set production mode

in the package.json

"scripts": {
    "start": "HOST=0.0.0.0 PORT=80 nuxt start",
  },

Specify HOST=0.0.0.0 PORT=80

docker

Build the image

docker build -t antoine/nuxt . --force-rm

Run the production mode

docker-compose up d 

If issues when docker-compose up

docker-compose rm --all

NB : This will only afect the "internal" docker-compose

About

🔥 SSR with vue.js as a PWA + docker 🐳

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published