Marko Starter Demo
This repo demos the basic features of
Starting the server
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
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.