Giter Club home page Giter Club logo

hejidata's Introduction

  • myGulp&Vue project

基於工作上的開發,可能會有用到Vue跟沒用到Vue的兩種狀況,做成兩種模組應用

Build Setup

# 安裝封包
npm install

# 假如你只要用pug`sass`js跟livereload的話 預設在port: 8001
npm run gulp

# 假設框架都做好了,要局部放入Vue的功能
# vue的dev模式
npm run dev

# build出vue的JS檔案
npm run build

##架構

|
|- dist // 輸出資料夾
    |- css // 這裡透過gulp 產出css與sourceMap檔案
    |- images //經過壓縮的圖片會在這裡 
    |- js //這裡產出一般會使用到的js
    |- buils.js //Vue的JS檔案
|- gulp //原始編輯用的路徑
    |- html //pug的原始檔案
    |- img //切好的圖
    |- js
       |- concat //依照功能去放不同的js檔案
       |- userjs.js //會先合併到這裡做產出
    |- sass
       |- element // 組建放這裡
       |- page // 頁面放這裡
       |- usercss.sass //彙整
|- src //Vue會用到的資料夾
    |- components //Vue 的組件
    |- App.vue 
    |- main.js 
|- index.html // 換算的html檔案會跑到外部
|- gulpfile.js //gulp的設定檔案
|- package.json // webpack
|- webpack.config.js //webpack設定檔

For detailed explanation on how things work, consult the docs for vue-loader.

hejidata's People

Contributors

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