past
v1.2.0
Published
Next.js inspired opinionated framework focusing on the boring past
Downloads
42
Readme
🌐 past
Web framework for people from the past.
Creating a page
Create a HTML file inside a 'pages' folder.
mkdir pages
echo '<h1>Hello, World</h1>' > pages/index.html
Then run npx past
.
You will see your page at the URL http://localhost:3000.
Examples
Use these examples to start or learn from:
- Hello World – simple html page with CSS and JavaScript.
- Form – simple form with user input that shows a message.
- Nunjucks – simple Nunjucks page with data.
- GOV.UK – GOV.UK login form with error messages.
- Markdown – simple markdown document.
Want to code in your browser? You can copy the 'hello-past' starter project on Glitch.com.