Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A sample application demoing integration of CxJS and Tailwind CSS

License

NotificationsYou must be signed in to change notification settings

codaxy/cxjs-tailwindcss-template

Repository files navigation

Netlify StatusLicense: MIT

This project is undergoing development. Some of the features are missing or incomplete.

This repository provides an application template based on CxJS and TailwindCSS. It offers a working application layout, sample pages, component gallery, SWC and webpack configurations, and others small bits and pieces.

CxJS and Tailwind CSS mix really well together. CxJS brings JavaScript based application elements such as widgets, charts, state management, and routing, while Tailwind CSS offers a rapid way to combine these elements into higher-order visual structures - page elements, headers, toolbars, sections, layouts, etc.

Both products require time to understand and master, but once everything settles, the productivity that this combination brings is great.

Running the project locally

In order to run the project you'll need Node.js 10 or later. This project uses Yarn for package management, but npm will do too.

To install application dependencies, run:

yarn installnpm install

To start the project, run:

yarn startnpm start

Build the project for deployment:

yarn buildnpm run build

To analyze the deployment bundle size, run:

yarn analyzenpm run analyze

Packages and Libraries

Heroicons

Icons used in the template come from theHeroicons library which offers beatiful hand-crafted SVG icons. Each icon needs to be registered in theicons/index.js before in can be used by CxJS components.

Mock Data

There is a mock REST API implemented using themsw package. The application makes proper network requests using thefetch method which are intercepted by the service worker. Check thedata folder for more details.

This should be removed when you switch to a proper API.

License

This project is available under the terms ofthe MIT license.

About

A sample application demoing integration of CxJS and Tailwind CSS

Topics

Resources

License

Stars

Watchers

Forks

Contributors5


[8]ページ先頭

©2009-2025 Movatter.jp