百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
F

Frontend-Boilerplates

> 前端框架
开源

包含了使用 ES6、Vue、React、Nuxt、TypeScript、SCSS 和 Nodejs 的模板集。利用良好实践和文件结构为您的实际项目提供启发。

381 stars0 点赞4 次浏览
访问官网GitHub

工具介绍

包含了使用 ES6、Vue、React、Nuxt、TypeScript、SCSS 和 Nodejs 的模板集。利用良好实践和文件结构为您的实际项目提供启发。

Frontend Boilerplates

Overview

This repository is a group of boilerplates including some good practises and tips that you can follow in your projects. There are different technologies separated by branches but with similar structures to write scalable applications. Some of them include JavaScript, TypeScript, Vue or React. Click on the logos to navigate through them.

Basic SPA - Boilerplate Features

These are the most relevant technologies that this boilerplate includes, all of them are configured to inspire your project and are showing examples of what you can do with them.

  • JavaScript: Written in vanilla JavaScript.
  • PostCSS: Be ready for the next CSS features.
  • Bootstrap: Build fast and responsive sites easily.
  • Autoprefixer: Automatically add vendor prefixes to these Styles.
  • Webpack: Automation of tasks and compilation of the project.
  • Babel: Transpiler to different versions of EcmaScript.
  • Browserlist: To configure which browsers will support.
  • Jest: Framework for testing.
  • ESLint: Linting for Scripts.
  • StyleLint: Linting for Styles.
  • Prettier: Formatter for Scripts and Styles.
  • EditorConfig: Formatter for files in general.
  • Husky: Used for attaching to git hooks and run scripts.

Demo (In progress)

Once you download the project you will find a complete demo of how it works, including (each boilerplate could include different examples):

  • Page: Example of how to create a page.
  • File structure: Project structure following "feature" convention.
  • Styles structure: Structure, mixins and variables using non-strict BEM.
  • File names: File names structure using "type name" convention.

Setup and scripts

Before start download or clone the boilerplate. Install all the dependencies.

bash
$ npm install

Run the project for local development.

bash
$ npm start

Build the project for a production environment.

bash
$ npm run build

Test your code.

bash
$ npm test

The linting is configured with husky and will run before commit, but you can run it.

bash
$ npm run lint # (Will run scripts and styles linting with autofix)
$ npm run lint:scripts # (Will run ESLint)
$ npm run lint:styles # (Will run Stylelint)
$ npm run lint:editor # (Will run ECLint)

Contributors

This project is possible thanks to the contributors.

Quique Fdez Guerra

Sabrina Pertusatti

Víctor Gámez

Alex Kryzhanovskyy

Juan Carlos

⛳️ Check all the boilerplates

  • basic: Basic SPA example using JavaScript.

  • vue: Vuejs example using TypeScript.

  • react: React example using React and TypeScript.

  • phaser: Phaser example using TypeScript and React.

  • ts: TypeScript example using TypeScript.

  • cypress: Cypress example using Cypress and TypeScript.

  • nuxt: Nuxt example using Nuxt and TypeScript.

  • node-ts: Backend and TypeScript example with SCSS and Nodejs.

Thanks to everyone who contributed:


Made with by Quique Fdez Guerra

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

JavaScriptbemboilerplatecypressfrontend

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类前端框架
定价开源

> 相关工具

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架