Skip to content

Webpack build es6 project using jquery. and make the common logic used by Nodejs

Notifications You must be signed in to change notification settings

DaqingFeng/webpack-jquery-nodejs

Repository files navigation

Webpack resolve jQuery to ES6 Using barbel loader ES6 file to Nodejs service Web page.

Use Webpack for ECMAScript 6 and using jQuery web front design and background server

Nodejs run common model logic.

Installation

npm

    1. npm install imports-loader
    1. npm install babel-loader babel-core babel-preset-es2015 --save-dev
    1. npm install babel --save-dev

#npm node

    1. npm install fs
    1. npm install path
    1. npm install source-map-support
  • ----ayalize tools

  • node lib/server-development

Usage

  • open index.html in a browser.

  • Change or add files in es6 folder. ./appbundle/app.bundle.js is the entry point.

  • Reload the browser when you have made a change.

  • When using Nodejs in command

  • run npm start

About

Webpack build es6 project using jquery. and make the common logic used by Nodejs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published