- Notifications
You must be signed in to change notification settings - Fork7
A sample application demoing integration of CxJS and Tailwind CSS
License
codaxy/cxjs-tailwindcss-template
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
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.
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
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.
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.
This project is available under the terms ofthe MIT license.
About
A sample application demoing integration of CxJS and Tailwind CSS
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Uh oh!
There was an error while loading.Please reload this page.
Contributors5
Uh oh!
There was an error while loading.Please reload this page.