Skip to content

使用html,css,js(ts)书写简单demo。webpack构建多页面应用,可配置,命令行快速创建模板文件,Github Action持续集成部署预览::tea: https://xszi.github.io/html-css-js/index.html

Notifications You must be signed in to change notification settings

xszi/html-css-js

 
 

Repository files navigation

webpack-multi-page

webpack 多页面打包项目

运行项目

# development
$ npm install
$ npm run dev

# production
$ npm install
$ npm run build

自动生成页面

$ npm run new:view 

项目配置

  • pug
  • eslint
  • jquery
  • typescript

可在config.js中选择是否开启

热更新问题

支持jscss热更新,如需要 html 热更新可在view/页面文件夹/同页面名字.js中引用pug/html文件

// index.js
require('./index.pug');

About

使用html,css,js(ts)书写简单demo。webpack构建多页面应用,可配置,命令行快速创建模板文件,Github Action持续集成部署预览::tea: https://xszi.github.io/html-css-js/index.html

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy