All Projects β†’ xxczaki β†’ static-webpack-boilerplate

xxczaki / static-webpack-boilerplate

Licence: MIT license
πŸš€ Minimal & Modern Webpack Boilerplate for building static sites

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to static-webpack-boilerplate

bowman
A simple static site generator with an integrated toolchain for efficient development and delivery.
Stars: ✭ 17 (-57.5%)
Mutual labels:  stylelint, postcss, site
Bathe
The simplest WordPress starter theme including full setup for Sass, PostCSS, Autoprefixer, stylelint, Webpack, Eslint, imagemin, Browsersync, etc.
Stars: ✭ 65 (+62.5%)
Mutual labels:  stylelint, postcss
Webpack Es6 Sass Setup
A basic setup for Webpack with ES6, Babel, Sass and stylelint
Stars: ✭ 63 (+57.5%)
Mutual labels:  stylelint, postcss
Static Site Boilerplate
A better workflow for building modern static websites.
Stars: ✭ 1,633 (+3982.5%)
Mutual labels:  stylelint, postcss
element-plus-admin
基于vite+ts+elementPlus
Stars: ✭ 361 (+802.5%)
Mutual labels:  stylelint, postcss
dva-typescript-antd-starter-kit
A admin dashboard application demo based on antd by typescript and dva
Stars: ✭ 61 (+52.5%)
Mutual labels:  stylelint, postcss
React Typescript Webpack2 Cssmodules Postcss
Simple Starter Template for React, TypeScript, postCSS, ITCSS, CSS-Modules, Webpack and Live Reloading (React Hot Loader 3)
Stars: ✭ 117 (+192.5%)
Mutual labels:  stylelint, postcss
stylelint-config-xo
Stylelint shareable config for XO
Stars: ✭ 34 (-15%)
Mutual labels:  stylelint, xo
Barebones
A barebones boilerplate for getting started on a bespoke front end.
Stars: ✭ 127 (+217.5%)
Mutual labels:  stylelint, postcss
Nextjs Ts
Opinionated Next JS project boilerplate with TypeScript and Redux
Stars: ✭ 134 (+235%)
Mutual labels:  stylelint, static-site
Stylefmt
stylefmt is a tool that automatically formats stylesheets.
Stars: ✭ 2,123 (+5207.5%)
Mutual labels:  stylelint, postcss
electron-vue-boilerplate
Simple boilerplate for building Vue app with Electron and Webpack.
Stars: ✭ 53 (+32.5%)
Mutual labels:  stylelint, postcss
gulp-boilerplate
Gulp boilerplate
Stars: ✭ 24 (-40%)
Mutual labels:  stylelint, postcss
Vscode Stylelint
A Visual Studio Code extension to lint CSS/SCSS/Less with stylelint
Stars: ✭ 260 (+550%)
Mutual labels:  stylelint, postcss
bootstrap-shopify-theme
πŸ› A free Shopify Theme built with Bootstrap, BEM, Liquid, Sass, ESNext, Theme Tools, ... and Webpack.
Stars: ✭ 41 (+2.5%)
Mutual labels:  stylelint, postcss
Postcss Less
PostCSS Syntax for parsing LESS
Stars: ✭ 93 (+132.5%)
Mutual labels:  stylelint, postcss
starter-kit
πŸƒ A simple and powerful Starter Kit made with Webpack, Gulp 4, Pug and SASS
Stars: ✭ 21 (-47.5%)
Mutual labels:  stylelint, postcss
bb8
Starter kit for automating tasks in everyday front-end development. πŸ‘¨πŸ»β€πŸ’» ⚑️ πŸ›  ✨ πŸ€–
Stars: ✭ 13 (-67.5%)
Mutual labels:  stylelint, postcss
Frasco
Quick starter for Jekyll including full setup for Sass, PostCSS, Autoprefixer, stylelint, Webpack, ESLint, imagemin, Browsersync, etc.
Stars: ✭ 123 (+207.5%)
Mutual labels:  stylelint, postcss
Styled React Boilerplate
Minimal & Modern boilerplate for building apps with React & styled-components
Stars: ✭ 198 (+395%)
Mutual labels:  stylelint, modern

Static Webpack Boilerplate πŸš€

Minimal & Modern Webpack Boilerplate for building static sites

Build Status XO code style

Demo Site


Highlights

  • Easy to use
  • Includes optimized Webpack & Babel configuration
  • Perfect Lighthouse score
  • Non-blocking CSS & fonts loading
  • Friendly errors & warnings
  • Ensures clean code with xo & stylelint
  • Normalizes default browser style with modern-normalize
  • HTML template with social media meta tags
  • Targets the latest browsers
  • Works offline

File Tree

β”œβ”€β”€ public                                      # Main folder
β”‚   β”œβ”€β”€ css                                     # Subfolder with css
β”‚   β”‚   β”œβ”€β”€ main.css                            # Main CSS file
β”‚   β”œβ”€β”€ fonts                                   # Subfolder with fonts
β”‚   β”‚   β”œβ”€β”€ open-sans-v16-latin-regular.woff    # .woff font
β”‚   β”‚   └── open-sans-v16-latin-regular.woff2   # .woff2 font
β”‚   β”œβ”€β”€ images                                  # Subfolder with images
β”‚   β”‚   β”œβ”€β”€ favicon.png                         # Favicon
β”‚   β”œβ”€β”€ js                                      # Subfolder with JavaScript
β”‚   β”‚   β”œβ”€β”€ main.js                             # Main (entry) file
β”‚   └── index.html                              # HTML template
β”œβ”€β”€ .npmrc                                      # npm config
β”œβ”€β”€ .stylelintrc                                # stylelint config
β”œβ”€β”€ .travis.yml                                 # Travis CI config
β”œβ”€β”€ package.json                                # Package config with scripts, list of dependencies etc.
β”œβ”€β”€ webpack.config.js                           # Webpack config
β”œβ”€β”€ babel.config.js                             # Babel config

Usage

# Install dependencies

 $ npm install
 
# Start webpack-dev-server at port 8080

 $ npm start
 
# Run linters

 $ npm test
 
# Build app for production (gets output in the 'dist' directory)

 $ npm run build

Deploying

I recommend to use either Zeit Now or Netlify for hosting your site.

Deploy to Netlify

TODO

  • HMR
  • Testing

Related

License

MIT

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].