node package manager


Marko Starter Demo

This repo demos the basic features of marko-starter.


npm install

Starting the server

npm start

Start the server in production mode (minification enabled, etc.):

NODE_ENV=production npm start

Build a static site

Build the project in production mode:

npm run build

By default, the generated static site will be placed in dist/.

Feature Demos

Live reload

Change a file and the server will restart and the browser will refresh. Hot reload is enabled for certain files.


See example components and how they can be scoped to pages or the whole site.


Learn to create routes and use route parameters.


Learn to create components that can be passed content and include that content in their own template.

Styles and Images

Learn how to use styles within a component and how to use resources (like images) in a component.