All Projects → Upstatement → Puppy

Upstatement / Puppy

Licence: mit
Starter kit and delivery system for building static prototypes with Twig

Projects that are alternatives of or similar to Puppy

Gulp Pug Starter
Frontend development with pleasure. Pug + SCSS version
Stars: ✭ 228 (+812%)
Mutual labels:  webpack, gulp, starter-kit
Wordpress Starter
📦 A starter template for WordPress websites
Stars: ✭ 26 (+4%)
Mutual labels:  webpack, gulp, starter-kit
gw-starter-kit
PEPELAC - Современный инструментарий для вёрстки и создания статичных сайтов с использованием Webpack
Stars: ✭ 30 (+20%)
Mutual labels:  gulp, twig, starter-kit
Generator Kittn
The Yeoman Kittn Generator
Stars: ✭ 63 (+152%)
Mutual labels:  webpack, gulp, twig
Gulp Scss Starter
Frontend development with pleasure. SCSS version
Stars: ✭ 339 (+1256%)
Mutual labels:  webpack, gulp, starter-kit
Blendid
A delicious blend of gulp tasks combined into a configurable asset pipeline and static site builder
Stars: ✭ 5,026 (+20004%)
Mutual labels:  webpack, gulp
Nth Start Project
Startkit for HTML / CSS / JS pages layout.
Stars: ✭ 578 (+2212%)
Mutual labels:  gulp, starter-kit
React App
Create React App with server-side code support
Stars: ✭ 614 (+2356%)
Mutual labels:  webpack, template
Manhuaren
vue2.0全家桶,仿漫画人官网(移动端)
Stars: ✭ 18 (-28%)
Mutual labels:  webpack, gulp
React Starter Kit
React Starter Kit — front-end starter kit using React, Relay, GraphQL, and JAM stack architecture
Stars: ✭ 21,060 (+84140%)
Mutual labels:  webpack, starter-kit
Secure Electron Template
The best way to build Electron apps with security in mind.
Stars: ✭ 623 (+2392%)
Mutual labels:  webpack, template
Base
A starting point for Meteor apps.
Stars: ✭ 654 (+2516%)
Mutual labels:  starter-kit, template
Webpack Starter Basic
A simple webpack starter project for your basic modern web development needs.
Stars: ✭ 552 (+2108%)
Mutual labels:  webpack, starter-kit
Hartija Css Print Framework
Universal CSS for web printing
Stars: ✭ 509 (+1936%)
Mutual labels:  starter-kit, template
Ios Awesome Starter Kit
The perfect combination: Clean Swift + ReSwift + PromiseKit
Stars: ✭ 596 (+2284%)
Mutual labels:  starter-kit, template
Angularwebpackvisualstudio
Template for ASP.NET Core, Angular with Webpack and Visual Studio
Stars: ✭ 497 (+1888%)
Mutual labels:  webpack, template
Serverless Typescript Starter
🗄🙅‍♀️ Deploy your next serverless JavaScript function in seconds
Stars: ✭ 653 (+2512%)
Mutual labels:  webpack, starter-kit
Laravel Boilerplate
Laravel Boilerplate / Starter Kit with Gentelella Admin Theme
Stars: ✭ 704 (+2716%)
Mutual labels:  starter-kit, template
Generator Ng Fullstack
Client, server or fullstack - it's up to you. ng-fullstack gives you the best of the latest.
Stars: ✭ 701 (+2704%)
Mutual labels:  webpack, gulp
Nextsimplestarter
🐳 Simple and Accessible PWA boilerplate with Nextjs 10 + React Hooks
Stars: ✭ 744 (+2876%)
Mutual labels:  webpack, starter-kit

puppy-placeholder

{{ Your Next Great Prototype }} Prerequisite Prerequisite

{{ Your next great prototype description }}

📜 About

  • Pages are authored in HTML or, optionally, Twig and live in the src/pages directory.
  • Twig templates and partials live in src/templates.
  • Site data files live in src/data. Drop any .json, .yml, or .js file exporting a function into this directory and access the resulting data in Twig templates using {{ site.data['path/to/file.ext'] }}. Powered by Puppy.
  • Styles are authored with Sass and live in src/scss.
  • Javascripts live in src/js. They are transipiled at build time with Babel so that they can take advantage of modern JS syntax
  • Any files in the public directory are copied to the web root recursively at build time.
  • Static assets are bundled at build time using Webpack.
  • All source assets are pulled together with Gulp and used to generate a static site in the dist directory.

✨ Install

# Install Node & NPM with [NVM](https://github.com/nvm-sh/nvm)
nvm install

# Install project dependencies
npm install

👩‍💻 Usage

Development

# Start a local dev server
npm start

# Check for JS/SCSS style violations prior to commit
npm run lint

# Fix the fixable linter violations
npm run lint:fix

# Format code with Prettier
npm run format

Production

# Build for production
npm run build

# Serve locally using `serve`
npx serve dist

Thumbnail Previews

You can capture screenshots of your pages by setting the thumbnail attribute to auto in your page's front matter header:

thumbnail: auto

The next time you run npm run build a screenshot will be generated for that page and displayed in the prototype index.

If the automated screenshots aren't cutting it, you can provide your own by dropping an image into the public/thumbnails directory and referencing its name in your page's front matter header:

Page: src/pages/example.html

Thumbnail: public/screenshots/example.png

Front Matter:

thumbnail: example.png

Deployment

The output of npm run build is a static site. You can drop the resulting dist directory on any web server.

An excellent choice is Netlify.

You can deploy your work to Netlify with their CLI tool.

npm install netlify-cli -g
netlify init
netlify deploy

Examples & Links

Overview

📝 License

Copyright © 2020 Upstatement, LLC


A Puppy 🐶 powered project

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