项目作者: hisasann

项目描述 :
Deprecated: :bento: Nuxt.js with TypeScript and Run with docker and docker-compose
高级语言: Vue
项目地址: git://github.com/hisasann/typescript-nuxtjs-boilerplate.git
创建时间: 2019-02-27T06:28:53Z
项目社区:https://github.com/hisasann/typescript-nuxtjs-boilerplate

开源协议:MIT License

下载


This repository has been moved to:

https://github.com/typescript-nuxtjs-boilerplate/typescript-nuxtjs-boilerplate

:bento: typescript-nuxtjs-boilerplate

example url: https://typescript-nuxtjs-boilerplate.netlify.com/example


💾 Install

Note: requires node version >= 8.10.0 and npm version >= 5.6.0

First, clone the repo via git:

  1. $ git clone --recursive git@github.com:hisasann/typescript-nuxtjs-boilerplate.git

Install yarn

for mac

  1. $ brew install yarn

for windows

Use installer

Install dependencies

Using yarn:

  1. yarn install

Using npm:

  1. npm install

Run sample server at localhost:5000

  1. $ node ./tools/server.js

🔌 Serve with hot reload at localhost:4000

  1. $ yarn run dev

or

  1. $ yarn run local

and run mock server for examples

  1. $ node ./tools/server.js

Build for production on docker and launch server

  1. $ yarn run build:docker
  2. $ yarn start

Build for production and SPA mode

  1. $ yarn run build:static

It will be published in the dist directory

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

📚 Docs

See our docs and guides here

⚙️ Maintainers

🍜 License

MIT © hisasann

twitter