Skip to content

Commit

Permalink
v1
Browse files Browse the repository at this point in the history
  • Loading branch information
anibalsanchez committed Feb 22, 2019
1 parent d090656 commit 920b055
Show file tree
Hide file tree
Showing 13 changed files with 13,523 additions and 1 deletion.
59 changes: 59 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# Project management
.vscode/
.editorconfig
.eslintrc.json
.jsbeautifyrc
.jshintrc
.markdownlint.json
jsconfig.json
.php_cs.dist
.php_cs
.gitkeep

# Composer
composer.phar
vendor/
composer.lock

# Node.js
node_modules/

# Cordova
/hooks/
/platforms/
#/plugins/
/typings/

# Build files - Release directory
/build/release
/build/templates/platform
/platform

# Test configuration
/tests/config.php
/Tests/config.php

# Version and manifest files
/component/*.xml
/modules/*/*/*.xml
/plugins/*/*/*.xml

# Language files (symlinked)
/component/language/*
/modules/*/*/language/*
/plugins/*/*/language/*

# Ionic
.sourcemaps/
tslint.json
/www/assets/*
/www/build/*

# App for Joomla
/component/media/app/
/component/media/service/

# Symfony
/var/

# Symlinks
674 changes: 674 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

48 changes: 47 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,48 @@
# XT-TailwindCSS-Starter
# Tailwind CSS Webpack Starter Project

A Tailwind CSS Starter. Based on Tailwind CSS, Webpack, PostCSS, cssnano and purgecss. Fully optimized for top performance.

- [Tailwind CSS](https://tailwindcss.com) - The Utility-First CSS Framework. A project by Adam Wathan (@adamwathan), Jonathan Reinink (@reinink), David Hemphill (@davidhemphill) and Steve Schoger (@steveschoger).
- [Webpack](https://webpack.js.org/)
- [PostCSS](https://postcss.org/)
- [cssnano](https://cssnano.co/)
- [Purgecss](https://www.purgecss.com)

To get started, clone the project and install the dependencies:

```
# Using npm
npm install
```

After that, start up Webpack Development Server:

```
npm run dev
```

The page is rendered here <http://localhost:8080/>.

Webpack Development Server will watch `/src/styles.css` and `/tailwind.js` and rebuild your stylesheet on every change. You can play around with `/src/index.html` to see the effects of your changes.

The sample page renders [my blog](https://blog.anibalhsanchez.com) layout redesigned with Tailwind ;-)

To build a production bundle run:

```
npm run prod
```

After that you will have a ready to deploy bundle at `/dist`

## Contributing

Have a lot of experience with Webpack and suggestions on how we could improve this starter template? We'd love a PR!

This starter is based on the original project created by Adam Wathan here: <https://github.com/tailwindcss/webpack-starter>.

## Copyright & License

- Copyright (c)2007-2018 Extly, CB. All rights reserved.
- Distributed under the GNU General Public License version 3 or later; see LICENSE
- This project is dedicated to [Andrea Gentil](http://www.twitter.com/andreagentil) ;-D
181 changes: 181 additions & 0 deletions dist/index.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/styles.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 920b055

Please sign in to comment.