Getting Started
#
SupernovaJS · #
The SSR MicroframeworkWrite a ssr high performance app with vanilla js and pure HTML.
#
Get StartedDownload and install Supernova
npm i -g @supernovajs/core
Create your project
supernova create my-app
Run your project
cd my-app && npm run dev
#
Code examplespages/hello/index.js
You have an async default exported function that returns an object with data property.
pages/hello/index.html
You can use data object from your index.js here to template your html
pages/hello/style.scss
Pro tip: You can change npm start script to run supernova start --port=8000 to run in port 8000 for example.