Code Monkey home page Code Monkey logo

nuxt-template's Introduction

Nuxt-template

Vue2项目基础框架

Usage

开发人员

  1. $ git clone http://git.jm.com/FE-team/nuxt-template.git 下载项目代码
  2. $ yarn 下载依赖包
  3. $ yarn run dev 启动开发环境服务
  4. $ yarn run build 项目构建
  5. $ yarn run start 启动基于构建后代码的服务

运维人员

  1. 构建代码
    • $ git clone http://git.jm.com/FE-team/nuxt-template.git 下载项目代码
    • $ yarn 下载所有依赖包
    • $ yarn run build:prod 项目构建 build:test,build:pre,build:prod
  2. 部署代码至对应服务器
    • Copy .nuxt/dist 至 静态资源服务
    • Copy .nuxt/,build/,static/,package.jsonecosystem.config.js 至 Node.js server
  3. 启动/重载Node.js服务
    • $ yarn install --production 安装生产环境依赖包
    • $ yarn run deploy:prod启动/重载服务 deploy:test,deploy:pre,deploy:prod

nuxt-template's People

Contributors

iceli avatar

Stargazers

 avatar

Watchers

 avatar  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.