Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
FrontEnd Starter is a Gulp-based boilerplate for building modern static websites with Twig, SCSS, and automated production builds.
Frontend Starter is a Gulp-based boilerplate kit that turns Twig, SCSS, and ES6 JavaScript source files into a production-ready static website.
Frontend Starter is a Gulp-based boilerplate kit for building modern static websites. It takes source files written in Twig, SCSS, and ES6 JavaScript as input and outputs minified, autoprefixed HTML, CSS, and JS for production. The kit runs on Node.js (version 24 or higher) and is hosted on GitHub at zakandaiev/frontend-starter.
npm run dev starts a development server that auto-refreshes the browser on file changes.lint:js:fix and lint:css:fix).backend.js) simulates a backend, useful for testing API interactions during development.npm run dev to preview your site on a local server with hot reload.npm run build to generate optimized static files into the dist directory (customizable via --dist).npm run preview to serve the built site locally and check the final result.npm run lint:js and npm run lint:css to check quality, plus the :fix versions to automatically fix issues.npm run backend to start the included Fastify server for API testing.The workflow is standard: clone the repository, install dependencies with npm install, then use npm run dev for development or npm run build for production. Options allow you to set a custom port, base path, and dist folder, and there is a debug:sourcemap command for inspecting sourcemap files.
Yes, Node.js version 24 or higher is required to run the Gulp build tasks and the development server.
After cloning, delete the .git directory: use rm -rf .git on Unix or Remove-Item .git -Recurse -Force on Windows.
The npm run build command outputs to the dist folder by default, but you can change it with the --dist option.
Yes, run npm run dev -- --port 3000 (or any other port number) to start the live server on a custom port.
It includes sitemap.xml, robots.txt, .htaccess, and a favicon, along with a custom 404 page to help with crawling and user experience.
