marko-starter-demo

2.0.0 • Public • Published

Marko Starter Demo

This repo demos the basic features of marko-starter.

Install

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.

Components

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

Routing

Learn to create routes and use route parameters.

Layouts

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.

Readme

Keywords

none

Package Sidebar

Install

npm i marko-starter-demo

Weekly Downloads

1

Version

2.0.0

License

MIT

Unpacked Size

27.3 kB

Total Files

17

Last publish

Collaborators

  • austinkelleher
  • dylanpiercey
  • pnidem