SinanMtl / webpack-simple-starter

A simple webpack starter without framework (Like Vue, React, Angular, etc.)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

A simple webpack starter without framework (Like Vue, React, Angular, etc.)

License:MIT License


Languages

Language:JavaScript 42.4%Language:HTML 36.7%Language:CSS 20.9%