Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Shell Page (generator)

Clojars Project

Simple script for rendering index.html from configs.

Usage

[mvc-works/shell-page "0.1.15"]
(def app-html "<div>SSR rendered</div>")

(def configs {:title "A title"
              :icon "http://icon-url.png"
              :ssr "respo-ssr"
              :styles ["main.css"]
              :inline-styles [".app{color: #ddd;}"]
              :scripts ["main.js" {:type :module, :src "main.mjs"}]
              :inline-html ""
              :append-html ""
              :manifest "manifest.json"
              :viewport "width=device-width, initial-scale=1, maximum-scale=1.0, user-scalable=no"})

(shell-page.core/make-page app-html configs) ; returns string of html

License

MIT

About

A page shell for generating index.html for Respo projects

Resources

Packages

No packages published
You can’t perform that action at this time.