Skip to content

"description": "A demo Vite starter template using Corex with plain CSS. Quickly scaffold your Corex design system project.",

Notifications You must be signed in to change notification settings

netoum/vite-corex-modex-css-custom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vite-corex-modex-css-custom

A minimal Vite starter Themex template for using Corex with plain CSS. This template helps you get up and running quickly with a Corex-powered design system using just npx degit.

🚀 Quick Start

To scaffold a new Corex project using this template:

npx degit netoum/vite-corex-modex-css-custom my-corex-app
cd my-corex-app
npm install
npm run dev

🚀 Site search

To use the site Search Component you will need to index the site

npm run build
npm install -D pagefind
npx pagefind --site "dist"
npm run dev

You can then set Pagefind in your main ts

import { initializeSiteSearch } from "@netoum/corex/components/site-search";
(async () => {
try {
// @ts-ignore
const pagefind = await import("../dist/pagefind/pagefind.js");
await pagefind.options({
bundlePath: "../dist/pagefind/pagefind.js",
baseUrl: "/",
});
await pagefind.init();
console.log("Pagefind initialized");
initializeSiteSearch(pagefind);
} catch (error) {
console.error("Failed to initialize Pagefind:", error);
}
})();

About

"description": "A demo Vite starter template using Corex with plain CSS. Quickly scaffold your Corex design system project.",

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published