90

GitHub - SinanMtl/webpack-simple-starter: A simple webpack starter without frame...

 6 years ago
source link: https://github.com/SinanMtl/webpack-simple-starter
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Webpack Simple Starter

A simple webpack starter without framework (Like Vue, React, Angular, etc.). This project is inspired from vue-cli webpack project

Getting Started

First, install the modules that the project needs.

$ npm install

Now, let's start developing.

$ npm run dev

Finally development process done. Let's export for production.

$ npm run build

That's it!. Files are ready to under the dist/ directory for production.

What's in this project?

Directories

There are four main directories in project. This directories like below:

build/		# Webpack configurations
config/		# Dev and prod configurations
src/ 		# Project development files
|_ scripts/	# Javascript files
|_ styles/	# Style files (scss)
|_ views/	# HTML templates (pug)
static/		# Static files (Like fonts, images)

Used Frameworks

  • Bootstrap and depended javascript frameworks like jquery. (Client)
  • Babel.js for ES6 compile
  • Sass for CSS
  • Pug for HTML template

Also, this project is supporting hot reload and include eslint

License

This project is under the MIT license.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK