Giter VIP home page Giter VIP logo

gulp_vue's Introduction

gulp_vue

基于gulp+webpack 构建vue开发环境及vue项目通用架构

命令

安装依赖

npm install

清空开发环境

npm run clean

清空生产环境

npm run clean:dist

初始化开发环境

npm run dev

编译生产环境

npm run build

项目架构说明:

>build          // gulp、webpack 构建配置及任务
——>tasks        // gulp 任务模块
——>util         // 工具方法
——>webpack      // webpack配置
>dist           // 生产包
>public         // dev开发包
>src            // 源代码
>gulpfile.js    // gulp配置入口文件

开发目录文件夹说明:

>src
——>assets         // 动态资源
————>less         
————>css          // 由.vue文件抽取的css暂存。
——>components     // vue组件
——>static         // 静态资源
————>images       // 图片资源
————>css          // 静态CSS资源
——>util           // 工具库
———>views         // 页面视图

public、dist 目录文件夹说明

>public(dist)
——>static           // 静态资源
————>css
————>js
————>images
——>views            // 页面视图

gulp_vue's People

Contributors

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