Skip to content

cjaewon/trendy-hugo-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

trendy-hugo-template

⚡ Trendy hugo template ( hugo, lit-element, TypeScript, scss )

Inspired by fireship.io structure

Introduce Structure

  • hugo : hugo site template
  • design : Web App Design (Scss)
  • scripts : (JS / TS) scripts ( contain web components )

Install

npx degit cjaewon/trendy-hugo-template my-website

⚠️ Recommed :: Disable Chrome Caching ( css or js )

Command ( yarn )

Build Hugo

  • yarn hugo ( build :: prod mode )
  • yarn hugo:watch ( dev mode )

Compile Sass / Scss

  • yarn design ( build :: prod mode )
  • yarn design:watch ( dev mode )

Compile Scripts

  • yarn scripts ( build :: prod mode )
  • yarn scripts:watch ( dev mode )

Build ALL -> yarn hugo && yarn design && yarn scripts

  • yarn build ( build :: all )