Giter Site home page Giter Site logo

webpack-multipages-template's Introduction

app.json

本模板基于Vue webpack-template

适用于Vue项目和非Vue项目

本模板默认css预处理为stylus

项目根目录下不要建 index.html和index.js。这两个文件将由Node.js自动生成

源码目录结构随意,页面入口文件名称和html模板名称必须是index,即index.js和index.html

build

target                		打包文件发布目录
publicPath            		资源公共路径
asset                 		资源路径
sub                   		资源子目录
"html-template-path"  		打包html的存放路径   
inject                		自动注入
clean						清除上一次打包的文件
hash						文件名添加hash串    

dev

port                  		devSever的端口
proxy                 		devServer proxy table的url
autoOpenBrowser       		自动打开浏览器[Boolean]
autoBuild             		开发期间自动打包[Boolean]

module

moduleName            		模块名称[String]
  enable              		启用模块 [Boolean]
  path                		模块所在目录 [String]
  page/pages          		模块页面名称 [String,Array]
  category				模块所属类别,打包时将创建类别目录
  
  如:pageA.category ="page-a" => template/path/page-a/pageName.html	 

webpack-multipages-template's People

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.