Skip to content
This repository was archived by the owner on Dec 11, 2024. It is now read-only.

uwe-app/cookbook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Examples

Examples of various useful techniques for UWE websites designed to accompany the documentation and so people can see each technique in isolation and build the projects to view the result. This document assumes you have already installed the tools.

Clone the repository, change directory and preview the website for a project:

git clone https://github.com/uwe-app/examples.git uwe-examples
cd uwe-examples/collections/document
uwe dev

Build Tools

To use a build tool the --exec capability must be granted, eg: uwe dev --exec.

  • babel Transpile Javascript with babel
  • esbuild Transpile Javascript with esbuild
  • postscss Transpile CSS with postcss
  • sass Transpile CSS with sass
  • swc Transpile Javascript with swc
  • tailwind-postscss Use the tailwind design system with postcss
  • webpack Transpile Javascript with webpack

Content

Collections

  • csv-table Render an HTML table from a CSV document
  • document Generate a collection from a single document
  • pagination Create pages from a collection and provide navigation controls
  • rss-podcast Render from an RSS XML podcast feed

Syntax Highlight

Notes

Developers can compile the entire workspace using uwe build at the root of the repository to quickly test for any errors. Build tools are treated as a separate workspace as they need the --exec capability, cd build && uwe build --exec.

About

Recipes for common design patterns

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published