Code Monkey home page Code Monkey logo

5se7en.com's Introduction

5se7en.com

nuxtjs+express+vue2.0+vuex搭建的服务端渲染个人网站项目 github项目地址: https://github.com/se7en-1992/5se7en.com 项目线上地址: https://5se7en.com/

注意事项

  • node>=v8.0.0+ (nuxt1.0.0以上版本的node版本号必须大于v8.0.0否则启动的时候会报错)
  • 若要测试游戏登录请点击前往套马游戏注册一个账号

技术选型

开发环境

  • Node.js: ^8.9.4
  • express: ^4.16.2
  • nuxtjs: ^1.0.0-rc11
  • vue: ^2.5.3
git clone https://github.com/se7en-1992/5se7en.com.git

cd 5se7en.com

# install dependencies
npm install # Or yarn install*[see note below]

npm run dev

使用浏览器打开 http://localhost:5757

nuxt介绍

  • nuxt详细的入门教程这里不做详细的介绍,官方文档讲解的已经非常详细了。这里简单介绍一下项目目录作用

nuxt目录介绍

nuxt配置介绍

  • config
  • nuxt.config.js
  • editorconfig EditorConfig是一套用于统一代码格式的解决方案
  • eslintrc.js ESLint是一个应用广泛的 JavaScript 代码检查工具
  • gitignore git提交忽略项配置文件
  • newrelic.js newrelic配置文件
  • start.js express启动入口文件,开发环境直接使用nuxt启动并没有走start.js,生产环境用pm2启动的该文件

友情提示

5se7en.com's People

Contributors

se7en-1992 avatar

Watchers

James Cloos 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.