Info
This project is a fully configured template for you to base your project on. It includes several packages that have already been configured. All Cowlick sties will be based on this configuration which is documented on the landing page of the organization.
You can view the project as well the documentation at the GitHub repo Cowlick-Studios/astro-start
Below we have 2 examples of modules we have configured and added. The joke component which demonstrates how use axios to make HTTP requests and the Counter component which demonstrates shared state across the application. Also the entire site has been styled using Tailwind and Flowbite with React island components.
The included packages are as follows:
- numeral - Easy number formatting.
- dayjs - Easily work with date objects.
- scss - Enable sass and scss functionality.
- flowbite-react - Tailwind and react based component library.
- @astrojs/react - Enable react islands.
- tailwind - Class bases CSS framework.
- axios - HTTP client.
- nanostores - State management.
- astro-icon - Iconify icons for Astro.
- @iconify/react - Iconify icons for React (Use in react islands).
Wanna hear a joke?
Example of using API call with axios.
Counter: 0
Example of shared state with nanostores.
Counter: 0
Example of shared state with nanostores.