All Projects → akikoo → Webpack Es6 Sass Setup

akikoo / Webpack Es6 Sass Setup

Licence: mit
A basic setup for Webpack with ES6, Babel, Sass and stylelint

Programming Languages

javascript
184084 projects - #8 most used programming language
es6
455 projects

Projects that are alternatives of or similar to Webpack Es6 Sass Setup

Frasco
Quick starter for Jekyll including full setup for Sass, PostCSS, Autoprefixer, stylelint, Webpack, ESLint, imagemin, Browsersync, etc.
Stars: ✭ 123 (+95.24%)
Mutual labels:  webpack, autoprefixer, stylelint, sass, postcss
Bathe
The simplest WordPress starter theme including full setup for Sass, PostCSS, Autoprefixer, stylelint, Webpack, Eslint, imagemin, Browsersync, etc.
Stars: ✭ 65 (+3.17%)
Mutual labels:  webpack, autoprefixer, stylelint, sass, postcss
Static Site Boilerplate
A better workflow for building modern static websites.
Stars: ✭ 1,633 (+2492.06%)
Mutual labels:  webpack, stylelint, sass, postcss
Deventy
A minimal 11ty starting point for building static websites with modern tools.
Stars: ✭ 157 (+149.21%)
Mutual labels:  webpack, autoprefixer, sass, postcss
Dev Toolkit
Universal Development Toolkit for Javascript People
Stars: ✭ 134 (+112.7%)
Mutual labels:  webpack, autoprefixer, sass
Frontie Webpack
Front-end Boilerplate | Gulp 4 + Webpack 4 + Babel + ITCSS Architecture + BEM Methodology + Twig.js
Stars: ✭ 102 (+61.9%)
Mutual labels:  webpack, sass, bem
Reactql
Universal React+GraphQL starter kit: React 16, Apollo 2, MobX, Emotion, Webpack 4, GraphQL Code Generator, React Router 4, PostCSS, SSR
Stars: ✭ 1,833 (+2809.52%)
Mutual labels:  webpack, sass, postcss
Gulp Pug Starter
Frontend development with pleasure. Pug + SCSS version
Stars: ✭ 228 (+261.9%)
Mutual labels:  webpack, sass, bem
Fast
Develop, build, deploy, redeploy, and teardown frontend projects fast.
Stars: ✭ 126 (+100%)
Mutual labels:  autoprefixer, sass, postcss
Webpack Encore
A simple but powerful API for processing & compiling assets built around Webpack
Stars: ✭ 1,975 (+3034.92%)
Mutual labels:  webpack, sass, postcss
Kit
ReactQL starter kit (use the CLI)
Stars: ✭ 232 (+268.25%)
Mutual labels:  webpack, sass, postcss
bootstrap-shopify-theme
🛍 A free Shopify Theme built with Bootstrap, BEM, Liquid, Sass, ESNext, Theme Tools, ... and Webpack.
Stars: ✭ 41 (-34.92%)
Mutual labels:  stylelint, postcss, bem
Frontend Webpack Boilerplate
Simple starter webpack 5 project template supporting SASS/PostCSS, Babel ES7, browser syncing, code linting. Easy project setup having multiple features and developer friendly tools.
Stars: ✭ 242 (+284.13%)
Mutual labels:  webpack, sass, postcss
Vscode Stylelint
A Visual Studio Code extension to lint CSS/SCSS/Less with stylelint
Stars: ✭ 260 (+312.7%)
Mutual labels:  stylelint, sass, postcss
Generator Kittn
The Yeoman Kittn Generator
Stars: ✭ 63 (+0%)
Mutual labels:  webpack, sass, postcss
Gulp Scss Starter
Frontend development with pleasure. SCSS version
Stars: ✭ 339 (+438.1%)
Mutual labels:  webpack, sass, bem
Stylefmt
stylefmt is a tool that automatically formats stylesheets.
Stars: ✭ 2,123 (+3269.84%)
Mutual labels:  stylelint, sass, postcss
Reset Css
An unmodified* copy of Eric Meyer's CSS reset. PostCSS, webpack, Sass, and Less friendly.
Stars: ✭ 244 (+287.3%)
Mutual labels:  webpack, sass, postcss
Kratos Boilerplate
🔥 A simple boilerplate for creating statics PWA using Webpack, Pug, PostCSS and CSS Modules
Stars: ✭ 308 (+388.89%)
Mutual labels:  webpack, sass, postcss
Naomi
Sublime Text enhanced syntax highlighting for JavaScript ES6/ES7/ES2015/ES2016/ES2017+, Babel, FlowType, React JSX, Styled Components, HTML5, SCSS3, PHP 7, phpDoc, PHPUnit, MQL4. Basic: Git config files.
Stars: ✭ 544 (+763.49%)
Mutual labels:  webpack, sass, postcss

webpack sample project

Sample webpack project with ES6 and Sass. Also includes Sass linting setup with stylelint and stylelint-selector-bem-pattern, to enforce BEM patterns for selectors.

This is a basic setup that only includes two main app files for demo purposes: ./src/main.js and ./src/main.scss. You get the idea.

There's nothing in this setup that hasn't been done earlier by other people (see credits section for more advanced configuration). This project might be useful when quick (local) development setup is needed, to play with new stuff.

For sample jspm and SystemJS project setup, you might want to take a look at https://github.com/akikoo/systemjs-jspm-sass-setup. There's also a sample Universal React setup (both in the browser and in node) with jspm and SystemJS: https://github.com/akikoo/universal-react-systemjs-jspm.

Environment setup

  $ npm install

Development

Start the Webpack server (includes live reloading when you change files):

  $ npm start

Open http://localhost:3001 in a browser. ./src/main.js is the entry point.

Sass linting

Stylelint is used to enforce consistent conventions and avoid errors in stylesheets. .stylelintrc configuration file contains all the available rules for completeness, with the ones that I don't currently need turned off (set to null). I've edited the options of each rule to my liking, based mostly on stylelint example config and stylelint-config-standard. For more info, see stylelint rules documentation.

Bundling

  $ npm run bundle

Credits

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].