Git Product home page Git Product logo

nodeblog's Introduction

NodeBlog

使用nodejs的一个简单的blog 1.npm install gulp 安装gulp 2.npm install 安装依赖的组件 3.gulp dev 执行gulp

目录结构: src -build 项目的一些配置文件 -www 项目主要的开发文件(开发在这个目录上开发,开发完,运行gulp dev,会将项目拷到项目根目录的www下,用于build 移动端) -app 界面以及controller -common 包含公用的东西 -service 存放service -util 存放工具类的js -directives 存放指令 -img 图片 -js 这个在考虑要不要删掉 -lib 第三方的库 -styles 样式 -index.html -www -hook

可使用命令: gulp dev 将开发文件同步到phonegap下www文件 gulp unit 跑单元测试 gulp browser-sync 同步刷新浏览器,无需F5

nodeblog's People

Contributors

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