All Projects → PolymerX → Polymer Skeleton

PolymerX / Polymer Skeleton

Licence: mit
💀 Skeleton for Polymer 3 app with Webpack, PostCSS and Service Workers ready.

Programming Languages

javascript
184084 projects - #8 most used programming language
esnext
17 projects

Projects that are alternatives of or similar to Polymer Skeleton

polymerx-cli
⚡ Unlock the power of Polymer 3, Web Components and modern web tools.
Stars: ✭ 30 (-83.78%)
Mutual labels:  polymer, postcss, workbox
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 (+890.81%)
Mutual labels:  webpack, starter-kit, postcss
Storybook
📓 The UI component explorer. Develop, document, & test React, Vue, Angular, Web Components, Ember, Svelte & more!
Stars: ✭ 67,445 (+36356.76%)
Mutual labels:  webpack, web-components, polymer
Preact Starter
Webpack3 boilerplate for building SPA / PWA / offline front-end apps with Preact
Stars: ✭ 384 (+107.57%)
Mutual labels:  webpack, starter-kit, progressive-web-app
Nextsimplestarter
🐳 Simple and Accessible PWA boilerplate with Nextjs 10 + React Hooks
Stars: ✭ 744 (+302.16%)
Mutual labels:  webpack, starter-kit, workbox
Static Site Boilerplate
A better workflow for building modern static websites.
Stars: ✭ 1,633 (+782.7%)
Mutual labels:  webpack, starter-kit, postcss
Lit Loader
LitElement Single File Component loader for Webpack.
Stars: ✭ 84 (-54.59%)
Mutual labels:  webpack, polymer, postcss
Preact Minimal
🚀 Minimal preact structure
Stars: ✭ 136 (-26.49%)
Mutual labels:  webpack, starter-kit, progressive-web-app
Project Webcube
Continuously updated JS infrastructure for modern web dev
Stars: ✭ 141 (-23.78%)
Mutual labels:  webpack, starter-kit
Iceberg
Front-End Boilerplate built with React + Babel + Webpack + SASS
Stars: ✭ 144 (-22.16%)
Mutual labels:  webpack, starter-kit
Cleverstyle Framework
CleverStyle Framework is simple, scalable, fast and secure full-stack PHP framework
Stars: ✭ 150 (-18.92%)
Mutual labels:  web-components, polymer
Book
《现代化前端工程师权威指南》https://guoyongfeng.github.io/book/
Stars: ✭ 141 (-23.78%)
Mutual labels:  webpack, postcss
Generator Jekyll Starter Kit
🚀 Jekyll Progressive Web App Generator.
Stars: ✭ 139 (-24.86%)
Mutual labels:  starter-kit, progressive-web-app
React Redux Styled Hot Universal
react boilerplate used best practices and focus on performance
Stars: ✭ 147 (-20.54%)
Mutual labels:  webpack, starter-kit
React Universally
This starter kit contains all the build tooling and configuration you need to kick off your next universal React project, whilst containing a minimal "project" set up allowing you to make your own architecture decisions (Redux/MobX etc).
Stars: ✭ 1,704 (+821.08%)
Mutual labels:  starter-kit, progressive-web-app
Eleventy Starter Boilerplate
🚀 Eleventy Starter is production-ready with SEO-friendly for quickly starting a blog. ⚡ Built with Eleventy, ESLint, Prettier, Webpack, PostCSS, Tailwind CSS and Netlify CMS (optional).
Stars: ✭ 139 (-24.86%)
Mutual labels:  webpack, starter-kit
Gwt Polymer Elements
Polymer Web Components for GWT. A collection of Material Design widgets for desktop and mobile.
Stars: ✭ 153 (-17.3%)
Mutual labels:  web-components, polymer
Webpack Encore
A simple but powerful API for processing & compiling assets built around Webpack
Stars: ✭ 1,975 (+967.57%)
Mutual labels:  webpack, postcss
Express Typescript Boilerplate
A delightful way to building a RESTful API with NodeJs & TypeScript by @w3tecch
Stars: ✭ 2,293 (+1139.46%)
Mutual labels:  starter-kit, skeleton
Polymer Analyzer
Moved to Polymer/tools monorepo
Stars: ✭ 162 (-12.43%)
Mutual labels:  web-components, polymer

GitHub release Build Status GitHub issues XO code style Polymer Skeleton Greenkeeper badge

A mininum boilerplate to deliver a Polymer 3.x with Webpack, PostCSS and Service Workers ready.

Features

Loaders

Supported Browsers

All modern browsers. 🕶

But as the features said, we are also transpiling the bundle for "oldie" browsers. Of course we are not covering things like IE11.

Usage

Clone this repository:

git clone --depth 1 https://github.com/PolymerX/polymer-skeleton [your-app-name]

Remove the .git folder and change details within:

  • package.json
  • src/manifest.json

Then start building your application!

yarn

Developing

Start the webpack-dev-server on localhost http://localhost:3000 with hot-reload and watch on .pcss files.

yarn dev

Test

XO for code style, Stylelint for PostCSS linting, and WCT for components tests:

yarn test

Run Lighthouse for testing the PWA capabilities:

yarn test:lighthouse

Build

(Almost) production-ready (webpack --optimize-minimze and copy statics) to dist folder. Also generating Service Workers. The command will also create the module version of the bundle ready to be loaded as type=module.

yarn build

Styling components with PostCSS

During development .pcss files will be watched, compiled and injected to the relative <style> tag within the component template. The CSS is scoped to the component so don't worry about CSS specificity, you can also use :host, :host-context and :root selectors. Read more about styling web components and custom CSS properties.

We also include Autoprefixer plugin, if you don't know how it works (...and you should), it allows you to write CSS without worrying about vendor prefixes. Just write your css properties prefix-free and let autoprefixer do the work for you when compiling.

How about commons styles? You can simply import any other .pcss file within your main component .js file and print it inside the template().

@webcomponents/webcomponentsjs

We are getting the webpcomponents-loader.js polyfill from GitHub using NPM/Yarn and copying it into a vendor folder with a Node script.

Contributors

Name Website
Alessio Occhipinti https://godev.space
Mattia Astorino http://equinsuocha.io/

License

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