All Projects → preactjs → Preact Www

preactjs / Preact Www

Licence: mit
📖 Preact documentation website.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Preact Www

Cordova Docs
Apache Cordova Documentation
Stars: ✭ 315 (+15.81%)
Mutual labels:  documentation, docs, website
Website
🌐 The Babel documentation website
Stars: ✭ 631 (+131.99%)
Mutual labels:  documentation, docs, website
Website
Yarn package manager website
Stars: ✭ 374 (+37.5%)
Mutual labels:  documentation, docs, website
Nord Docs
The official Nord website and documentation
Stars: ✭ 63 (-76.84%)
Mutual labels:  documentation, docs, website
Ru.reactjs.org
React documentation website in Russian / Официальная русская версия сайта React
Stars: ✭ 444 (+63.24%)
Mutual labels:  documentation, docs, website
Typemill
TYPEMILL is a simple and lightweight Flat-File-CMS for authors and publishers.
Stars: ✭ 150 (-44.85%)
Mutual labels:  documentation, docs, website
Dvc.org
🔗 DVC website and documentation
Stars: ✭ 171 (-37.13%)
Mutual labels:  documentation, website
Press
Minimalist Markdown Publishing for Nuxt.js
Stars: ✭ 181 (-33.46%)
Mutual labels:  documentation, docs
Registry
npm registry documentation
Stars: ✭ 202 (-25.74%)
Mutual labels:  documentation, docs
ReplCustoms
A database of users, posts, and comments from the ReplTalk API
Stars: ✭ 17 (-93.75%)
Mutual labels:  repl, webapp
Mm Wiki
MM-Wiki 一个轻量级的企业知识分享与团队协同软件,可用于快速构建企业 Wiki 和团队知识分享平台。部署方便,使用简单,帮助团队构建一个信息共享、文档管理的协作环境。
Stars: ✭ 2,364 (+769.12%)
Mutual labels:  documentation, docs
Emu Docs
Emulator documentation archive
Stars: ✭ 222 (-18.38%)
Mutual labels:  documentation, docs
apps
daily.dev application suite
Stars: ✭ 253 (-6.99%)
Mutual labels:  preact, webapp
Webpack.js.org
Repository for webpack documentation and more!
Stars: ✭ 2,049 (+653.31%)
Mutual labels:  documentation, docs
Jenkins.io
A static site for the Jenkins automation server
Stars: ✭ 165 (-39.34%)
Mutual labels:  documentation, website
Swagger Toolbox
💡 Swagger schema model (in yaml, json) generator from json data
Stars: ✭ 194 (-28.68%)
Mutual labels:  documentation, website
Sentry Docs
The new place for the sentry documentation (and tools to build it)
Stars: ✭ 160 (-41.18%)
Mutual labels:  documentation, docs
Gitdocs
Easy to use, SEO-friendly, beautiful documentation that lives in your git repo.
Stars: ✭ 252 (-7.35%)
Mutual labels:  documentation, docs
englishextra.github.io
English Grammar for Russian-Speakers, a PWA website + SPA
Stars: ✭ 19 (-93.01%)
Mutual labels:  website, webapp
node-starter-kit
Node.js / GraphQL project template pre-configured with TypeScript, PostgreSQL, login flow, transactional emails, unit tests, CI/CD workflow.
Stars: ✭ 76 (-72.06%)
Mutual labels:  website, webapp

Preact Documentation Website

Build Status Preact Slack Community

Built with preact-cli

🚀 master is automatically deployed to preactjs.com


Application Structure

This website is built as a prerendered static app, following the Application Shell pattern.

Content

Content is fetched and rendered on the fly from Markdown documents located in content/, similar to how Jekyll works. Documents can contain optional YAML FrontMatter for specifying page metadata or layout information. Once fetched, content is parsed using marked and rendered to VDOM via preact-markup.

Custom Elements

Since preact is used to render the Markdown content, HTML contained in a document reference any of the Components listed in src/components/widget.js as Custom Elements, useful for dynamic content:

## Example Page

<!-- Jumbotron and Logo are actually Preact components! -->
<jumbotron>
    <h1><logo text>Preact</logo></h1>
</jumbotron>

Navigation

Currently, the navigation menu and route handling is controlled by src/config.json. This is likely to change, but in the meantime it means any new pages must be linked from the "nav" section of the config.


Local Development

Clone & Install Dependencies

git clone https://github.com/preactjs/preact-www.git
cd preact-www

npm install

Development Workflow

To start a live-reload development server:

PORT=8080 npm run dev

Any time you make changes within the src directory, it will rebuild and even refresh your browser.

Generate a production build in ./build:

npm run build

License

MIT

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