Sign inSign up

hobord/nuxt_ts

By hobord

Updated over 8 years ago

Nuxtjs 2 nodejs server example with typescript support

Image
0

10K+

hobord/nuxt_ts repository overview

nuxt_type

Nuxt.js TypeScript project

Build Setup

# install dependencies
$ npm install # Or yarn install

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

# testing (unit/e2e)
$ npm run test:unit
$ npm run test:e2e
# run all test
$ npm run test

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

# generate static project
$ npm run generate

# Docker build
docker build -t nuxtjs-app .

# Docker run
docker run nuxtjs-app

# Kubernetes
kubectl create -f kubernetes-deployment.yaml

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

Tag summary

Content type

Image

Digest

Size

114.9 MB

Last updated

over 8 years ago

docker pull hobord/nuxt_ts