Giter Site home page Giter Site logo

book-nuxt.js's Introduction

mobh5

My well-made Nuxt.js project

Build Setup

# install dependencies
$ npm install

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

# build for production and launch server 服务端渲染应用部署,node启动
$ npm run build

# build for production and launch server use pm2  服务端渲染应用部署,使用 pm2 做进程守护
$ npm run pm2Build

# generate static project  静态应用部署
$ npm run generate

# 分析并可视化构建后的打包文件, 分析结果可在 http://localhost:8888 上查看
$ npm run analyze

# 使用vscode调试nuxt服务端代码,使用npm启动后,再点击vscode调试,选择Attach,更新代码需要手动重启
$ npm run dev-debug

# 使用vscode调试nuxt服务端代码,直接点击vscode调试,选择nodemon,更新代码自动重启
$ npm run nodemon-debug

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

book-nuxt.js's People

Contributors

cyh5kf avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.