Coder Social home page Coder Social logo

baobao12356 / express-webpack-starter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cherish-xzw/express-webpack-starter

0.0 1.0 0.0 500 KB

Use webpack in traditional multipage application with express.

License: MIT License

JavaScript 88.69% CSS 3.36% HTML 7.95%

express-webpack-starter's Introduction

express-webpack-starter

Build Status

express-webpack-starter shows how to use webpack in multipage application with express.

Features

  • Hot reload with webpack dev server
  • CSS extraction
  • Sepreate common chunks and application code
  • Long term cache with contenthash in css and js files
  • Support .vue files and es2015+ syntax
  • Gzip compression when bundles are too big

Note

The default branch does not set any front-end library , you can choose a library in these branch

Usage

First of all, you should clone this repo

git clone --depth=1 -b <branch> https://github.com/Cherish-xzw/express-webpack-starter MyAwesomeApp

After that, you can run

$ yarn
$ yarn dev # start server with development mode
$ yarn start # start server with production mode

Lisence

MIT

express-webpack-starter's People

Contributors

cherish-xzw 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.