Integrating hgrid-css in a Vue 3 project with Vite
https://hgrid.io/documentation/integrate/#vue
https://github.com/ahansson/hgrid-css-vue-vite
Minimal setup of Vue with Sass compilation for hgrid-css
.
A lightweight and practical CSS utility kit with zero config and a flat learning curve.
Repo: https://github.com/ahansson/hgrid-css
Installs the required node_modules
, including hgrid-css
.
npm install
Starts the development server with Sass compilation for hgrid and serves your site from the public
folder on localhost:3000 (if available).
npm run dev
npm run build
Also check the (general) tips on reducing the output size of your CSS.
The template uses Vue 3 <script setup>
SFCs, check out the script setup docs to learn more.