Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tailwindtoolbox/startertemplate
Tailwind Starter Template
https://github.com/tailwindtoolbox/startertemplate
html npm open-source purgecss tailwind-css tailwindcss template
Last synced: about 2 months ago
JSON representation
Tailwind Starter Template
- Host: GitHub
- URL: https://github.com/tailwindtoolbox/startertemplate
- Owner: tailwindtoolbox
- License: mit
- Created: 2018-09-25T09:54:28.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-02T15:23:16.000Z (about 2 years ago)
- Last Synced: 2023-03-04T01:01:18.739Z (almost 2 years ago)
- Topics: html, npm, open-source, purgecss, tailwind-css, tailwindcss, template
- Language: CSS
- Size: 433 KB
- Stars: 20
- Watchers: 0
- Forks: 3
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [Tailwind Toolbox](https://www.tailwindtoolbox.com/) - [Starter Template](https://www.tailwindtoolbox.com/setup)
It's pretty straight forward to setup [Tailwind CSS](https://www.tailwindcss.com/) and give it a test spin using the CDN version. However, as mentioned on the Tailwind site, you need to setup Tailwind using npm in order to start customising Tailwind.
*Note: This starter template is for Tailwind CSS version 1 beta 3 (which is pretty much the [final version](https://twitter.com/adamwathan/status/1108450684783849472))
If you want the starter template for version 0.7.4, then please [download it from here](https://github.com/tailwindtoolbox/StarterTemplate/archive/v0-7-4.zip)*
## Setup Guide
* Download [Node/npm](https://nodejs.org/en/download/)
* Download the [Tailwind Starter Template](https://github.com/tailwindtoolbox/StarterTemplate/archive/master.zip)
* Open ```package.json``` and then edit the follow section of the file to match your project```"name": "TailwindStarterTemplate",
"version": "1.0.0",
"description": "Tailwind Starter Template",
"license" : "MIT",
"repository": {
"type" : "git",
"url" : "https://github.com/tailwindtoolbox/StarterTemplate.git"
},
```Refer to https://docs.npmjs.com/files/package.json for guidance
* Open your node command prompt/terminal and navigate to your 'project-name' folder and create the `node_modules` directory
```npm install or npm update```
* Refresh the Tailwind.js file
```npm run del:js && npm run create:js```
* Re-create the initial css file
```npm run dev:css```
* Start building your website using the starter template in the dist folder.
## Tweaking
* Customise the tailwind.config.js and tailwind.config.css to create the tailwind.css for your project
* Use purgecss/cssnano to remove unused CSS and minify the final CSS fileRefer to the [full setup guide for detailed instructions](https://www.tailwindtoolbox.com/setup)
## Bugs and Issues
Have a bug, suggestion or question? [Open a new issue](https://github.com/tailwindtoolbox/StarterTemplate/issues/new) here on GitHub.
## Creator
[Tailwind Toolbox](https://www.tailwindtoolbox.com/) was created by and is maintained by **[Amrit Nagi](https://amritnagi.info/)**, Co-owner of [Astrava.Solutions](https://astrava.solutions).
* https://twitter.com/tailwindtoolbox
* https://twitter.com/amritnagi
* https://github.com/tailwindtoolboxTailwind Toolbox is based on the [Tailwind CSS](https://www.tailwindcss.com/) framework created by [Adam Wathan](https://twitter.com/adamwathan), [Jonathan Reinink](https://twitter.com/reinink), [David Hemphill](https://twitter.com/davidhemphill) and [Steve Schoger](https://twitter.com/steveschoger)