You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			| 
				
					
						 | 
			3 years ago | |
|---|---|---|
| packages | 3 years ago | |
| .env.example | 3 years ago | |
| .gitignore | 3 years ago | |
| LICENSE | 3 years ago | |
| README.md | 3 years ago | |
| package.json | 3 years ago | |
| yarn.lock | 3 years ago | |
		
			
				
				README.md
			
		
		
			
			
		
	
	fastify-boilerplate
Small simple Boilerplate for developing Websites or Webapps with,
- Web Framework - Fastify
 - Template Engine - eta.js
 - Wrapper for Webpack - Laravel-Mix
 - CSS Framework - Plain UI
 
Install packages:
yarn install
Building CSS & JS:
yarn run build
or
yarn run build-production
Starting Server:
yarn run start
Static & EtaHelper
All Static Files that are handle by Laravel Mix are copied to /static. You find the webpack.mix.js in /packages/frontend. Fastify will handle all request for static files by /static/<filename>. To handle files from manifest.json you can use asset(<path>) in the templates.
<link href="{{ asset('/static/css/styles.css') }}" rel="stylesheet" type="text/css">