TA-Foodtrucks is a Alpine JS based plugin for adding the latest food truck and street food dates to your website. This plugin is designed for every Craftplaces API endpoint.
- Reliable data - Food trucks keeping their schedule up to date in Craftplaces Business
- All Endpoints supported - You can use all Endpoint types of the Craftplaces API
- Easy to use - Enjoy the deliciousness of street food in your area
- Based on Alpine JS - Small footprint and Vue JS inspired, like Tailwind for JavaScript
- 100% Tailwind CSS - Rapidly build modern websites without leaving your HTML
From npm: Install the package.
# Install using npm
npm install --save-dev @markusantonwolf/ta-foodtrucks
# Install using yarn
yarn add -D @markusantonwolf/ta-foodtrucks
Inside tailwind.config.js: Add the plugin to your tailwind css config file.
// tailwind.config.js
module.exports = {
// ...
theme: {
// ...
taFoodtrucks: {
debug: false, // shows the new component classes in the console while building
export: false, // writes the new component classes into files ./public/utilities.css & /public/keyframes.css
},
// ...
},
variants: {
// ...
taFoodtrucks: ['responsive'], // empty the array if you don't need a responsive variant
// ...
},
// ...
plugins: [require('@markusantonwolf/ta-foodtrucks')],
// ...
}
- TA-Styled-Plugins - Explore all Tailwind CSS and Alpine JS styled plugins and learn how to enhance your website fast and easy.
// To install dev dependencies run:
npm install
// To start the development server run and go to http://localhost:9999/:
npm run serve
// To make a development build run:
npm run develop
// To make a production build run:
npm run build
TA Foodtrucks is released under the MIT license & supports modern environments.
© 2021 Markus A. Wolf https://www.markusantonwolf.com