Build ideas from scratch through guided discovery, then produce developer-ready specs and implementation prompts.
- Starting a new side project from a rough idea
- Need structured thinking before jumping into code
This will get you setup with Laravel & Valet on your Mac. Quentin Watt has a good video tutorial on getting setup here as well
Go to https://brew.sh/ and copy the command and run in your terminal
It will be something like this...
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
| import React from "react"; | |
| // Import Contentful Rich Text libraries | |
| import { INLINES } from "@contentful/rich-text-types"; | |
| import { documentToReactComponents } from "@contentful/rich-text-react-renderer"; | |
| function ArticleBodyComponent() { | |
| const references = []; | |
| const options = { |
In 5 minutes, you’ll have a brand new clean Statamic site, with Tailwind CSS and PurgeCSS configured.
It assumes that you work on a Mac, you put your site in ~/sites and you use Laravel Valet.
All the credit go to Jack McDade and philipboomy, from whom I stole and adapt the build scripts and the PurgeCSS config, because I have really absolutely no idea what I am doing with all this Terminal Black Magic ™; this is only a detailed write up of the process.
You'll need Yarn and Node. You can install them both in one command via Brew: brew install yarn
| { | |
| "name": "sqip-cache-tryout", | |
| "version": "1.0.0", | |
| "description": "", | |
| "main": "", | |
| "scripts": { | |
| "test": "echo \"Error: no test specified\" && exit 1" | |
| }, | |
| "keywords": [], | |
| "author": "stefan judis <stefanjudis@gmail.com>", |
| # ... | |
| activate :external_pipeline, | |
| name: :webpack, | |
| command: build? ? "npm run build:assets" : "npm run start:assets", | |
| source: ".tmp/webpack_output", | |
| latency: 1 | |
| # ... |
| # Middleman - Inline SVG Helper | |
| # ------------------------------------------------------------------------------ | |
| # | |
| # Installation | |
| # ------------ | |
| # 1. Save this file at `[project_root]/helpers/image_helpers.rb` | |
| # 2. Open the project's Gemfile and add this line: `gem "oga"` | |
| # 3. Run `bundle install` from the command line | |
| # | |
| # Note: Restart your local Middleman server (if it's running) before continuing |
| first name | last name | age | |
|---|---|---|---|
| Stephen | Sugden | 31 | |
| Tom | Reznik | 29 | |
| Justin | Thomas | 30 |
| #!/bin/bash | |
| # node-reinstall | |
| # credit: http://stackoverflow.com/a/11178106/2083544 | |
| ## program version | |
| VERSION="0.0.13" | |
| ## path prefix | |
| PREFIX="${PREFIX:-/usr/local}" |
| module.exports = function(grunt) { | |
| grunt.initConfig({ | |
| pkg: grunt.file.readJSON('package.json'), | |
| sass: { | |
| dist: { | |
| options:{ | |
| style:'compressed' | |
| }, | |
| files: { | |
| 'css/style.css' : 'scss/style.scss' |