Jordan Pittman
4d4f309301
Update example for Tailwind v3 ( #32339 )
...
# Update example for Tailwind v3
I updated the example used by the [official docs](https://tailwindcss.com/docs/guides/nextjs ) to reference Tailwind v3 with the necessary changes. I _did not_ update the emotion example because it's using the xwind package which will likely need to be updated first.
## Documentation / Examples
- [x] Make sure the linting passes by running `yarn lint`
2021-12-09 22:42:42 +00:00
Pranav P
cffdf1e088
Update tailwind css to v2.1 with jit support ( #23793 )
...
## Documentation / Examples
- [x] Make sure the linting passes
2021-04-08 16:52:15 +00:00
Nick Carchedi
379c4c4e33
Bring Tailwind CSS example in line with official Tailwind docs ( #19750 )
...
Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
Co-authored-by: Tim Neutkens <timneutkens@me.com>
2021-01-25 14:20:14 +01:00
Yuri Yakovlev
0c38922525
Update Tailwind example to v2.0 ( #19278 )
...
- Bump the Tailwind version to v2.0
- Add necessary latest `postcss` and `autoprefixer` deps
- Clean the tw config a bit
- Add dark mode styles
2020-11-20 18:18:49 +00:00
Tim Feeley
b009ebbec6
Fix a small typo in index.css ( #17399 )
2020-09-27 22:17:03 +00:00
Luis Alvarez D
63ea2d8297
Add CSS Modules examples to docs ( #15601 )
...
Fixes https://github.com/vercel/next.js/issues/15595
- Updated the tailwindcss and tailwindcss-emotion examples to the latest version of tailwindcss
- Added a new `with-styled-jsx` example
- Updated the `basic-css` example to use CSS Modules instead of styled-jsx
- Added the examples to the documentation page for built-in css support
2020-07-29 14:43:48 +00:00
Taylor Bryant
5e80999c04
Clean up styles in with-tailwindcss example ( #12458 )
2020-05-03 19:45:57 -04:00
Taylor Bryant
0050432690
Update with-tailwindcss to use Tailwind CSS v1.4.0's new built-in purge option ( #12327 )
2020-04-30 09:51:37 +02:00
Afzal Sayed
b95214e2cd
feat(examples:tailwind): add postcss-preset-env ( #10160 )
...
* feat(examples:tailwind): add postcss-preset-env
* fix: prettier
* Review changes
* Update README.md
Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-01-20 16:13:18 -05:00
Zhe Zhang
0b1217e79e
Update with-tailwindcss example ( #10141 )
...
Co-authored-by: Joe Haddad <timer150@gmail.com>
2020-01-17 16:02:38 -05:00
Taylor Bryant
b96f1ae285
Add Purgecss to with-tailwindcss example ( #9145 )
...
* Add Purgecss
* Remove trailing comma
* Fix linting errors
* Update README.md
* Add cssnano to PostCSS plugins
* Use single quotes
2019-10-22 22:53:33 -04:00
Joe Haddad
b3170d2648
Format missed files ( #7464 )
...
* Format missed files
* Remove unnecessary rule
* Fix type error
2019-05-29 18:19:32 -07:00
msheakoski
2c7be96daa
Update Tailwind CSS to v1.0 ( #7421 )
2019-05-27 13:22:26 +02:00
Tim Neutkens
163830c026
Merge branch 'canary'
...
# Conflicts:
# examples/with-apollo-and-redux/README.md
# examples/with-sentry/README.md
# examples/with-sentry/package.json
# examples/with-sentry/pages/_app.js
# package.json
# packages/next/build/webpack-config.js
# packages/next/client/index.js
# server/document.js
# server/render.js
# test/integration/production/test/index.test.js
2019-02-11 08:22:31 +01:00
Dale Inverarity
f7477a9e2e
Adding is @tailwind components;
( #5897 )
...
Without `@tailwind components;` plugins (like container which is added by default) will not work.
See: https://github.com/tailwindcss/tailwindcss/issues/446#issuecomment-378792892 for details
2018-12-16 16:23:18 +01:00
Jamie Barton
196f71feb7
Refactor with tailwindcss example to use next-css ( #5461 )
...
Instead of bundling `postcss-cli` we can now make use of `@zeit/with-css`.
This also means we can get rid of the `<style>` import and concurrent build step for css. 🎉
2018-11-08 14:42:55 +01:00
Tim Neutkens
ebf0c47c25
Upgrade standard.js ( #4064 )
...
* Upgrade standard.js
# Conflicts:
# yarn.lock
* Upgrade babel-eslint
2018-03-27 20:11:03 +02:00
Tim Neutkens
c9401214db
Fix linting
2017-11-25 12:03:25 +01:00
Lucas Rosa
fc335ac36c
Add example with tailwind css ( #3317 )
...
* Add Tailwind css example
* Fix read me
* Add create-next-app setup to read me
2017-11-23 13:48:34 +01:00