Skip to content

React19 Vite6 ESLint .This project is a way for people to use CSS Grid features quickly to create dynamic layouts.这个项目是让人们快速使用 CSS Grid 功能来创建动态布局的一种方式。

License

Notifications You must be signed in to change notification settings

wangmiaozero/cssgridgenerator

Repository files navigation

CSS Grid Generator

CSS Grid Generator

English | 中文

This project is a way for people to use CSS Grid features quickly to create dynamic layouts.

You can set the numbers, and units of your columns and rows, and I'll generate a CSS grid for you! Drag within the boxes to create divs placed within the grid.

I noticed a lot of people weren't using Grid because they felt it was too complicated and they couldn't understand it. Grid is capable of so much, and this small generator only touches on a fraction of the features. The purpose of this is so people get up and running quickly, and create more interesting layouts.

Once you work with this a bit, I suggest checking out resources by Github, Seedling-ui, and Wang Seddling to dive deeper. There is also a CSS Grid Guide on CSS-Tricks, and a fun little game called Grid Garden to help you learn more!

If this project has helped you, please give it a Star. Thank you!

Environmental requirements.

node v18.20.0
npm v10.5.0
pnpm v9.12.1

Project setup

pnpm install

Compiles and hot-reloads for development

pnpm run dev

Compiles and minifies for production

pnpm run build

Lints and fixes files

pnpm run lint

React 19 + Vite 6 + ESLint

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.This project utilizes the latest versions of React 19 and Vite 6, integrating the best practices of modern front-end development. It provides a set of powerful, high-performance, and flexible development templates. It offers developers an unprecedented development experience and ensures the project's compatibility and leading position in future technological changes.

Currently, two official plugins are available:

cssgridgenerator-react
├─ .gitignore
├─ README.md
├─ eslint.config.js
├─ index.html
├─ package.json
├─ pnpm-lock.yaml
├─ public
│  ├─ favicon.ico
│  ├─ og-cssgrid.jpg
│  └─ vite.svg
├─ src
│  ├─ App.jsx
│  ├─ assets
│  │  └─ react.svg
│  ├─ components
│  │  ├─ AppCode.jsx
│  │  ├─ AppExplain.jsx
│  │  ├─ AppForm.jsx
│  │  ├─ AppGithubCorner.jsx
│  │  ├─ AppGrid.jsx
│  │  ├─ AppHeader.jsx
│  │  ├─ AppLogo.jsx
│  │  └─ AppModal.jsx
│  ├─ i18n
│  │  ├─ bn.json
│  │  ├─ en.json
│  │  ├─ es.json
│  │  ├─ fr.json
│  │  ├─ index.jsx
│  │  ├─ pt.json
│  │  └─ zh.json
│  ├─ main.jsx
│  ├─ store
│  │  ├─ index.js
│  │  └─ slices
│  │     └─ gridSlice.js
│  ├─ styles
│  │  ├─ App.scss
│  │  ├─ components
│  │  │  ├─ AppCode.scss
│  │  │  ├─ AppExplain.scss
│  │  │  ├─ AppForm.scss
│  │  │  ├─ AppGithubCorner.scss
│  │  │  ├─ AppGrid.scss
│  │  │  ├─ AppHeader.scss
│  │  │  ├─ AppLogo.scss
│  │  │  └─ AppModal.scss
│  │  ├─ main.scss
│  │  └─ variables.scss
│  └─ utils
│     ├─ repetition.js
│     └─ repetition.spec.js
└─ vite.config.js

License

This project is licensed under the Creative Commons Attribution-NonCommercial 4.0 International (CC BY-NC 4.0).

Summary:

  • You are free to:

    • Share — copy and redistribute the material in any medium or format.
    • Adapt — remix, transform, and build upon the material.
  • Under the following terms:

    • Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
    • NonCommercial — You may not use the material for commercial purposes.

For more information, refer to the LICENSE file in this repository.

About

React19 Vite6 ESLint .This project is a way for people to use CSS Grid features quickly to create dynamic layouts.这个项目是让人们快速使用 CSS Grid 功能来创建动态布局的一种方式。

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published