This repo demos the basic features of marko-starter
.
npm install
npm start
Start the server in production mode (minification enabled, etc.):
NODE_ENV=production npm start
Build the project in production mode:
npm run build
By default, the generated static site will be placed in dist/
.
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.
Learn how to use styles within a component and how to use resources (like images) in a component.