Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
16ddd6b
commit 1a5f45f
Showing
1 changed file
with
2 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,84 +1,3 @@ | ||
# 0.3.0 | ||
# Change log | ||
|
||
We moved the config files into `tailwind/config`. This is a breaking change. | ||
|
||
We also added better support for addons, but this comes with some new required configuration. We hope to make this easier in the future. | ||
|
||
For now, you'll need to set `'ember-cli-tailwind'['buildTarget']` to either `app`, `dummy` or `addon. | ||
|
||
**Use in apps** | ||
|
||
```js | ||
// ember-cli-build.js | ||
module.exports = function(defaults) { | ||
let app = new EmberAddon(defaults, { | ||
// Add options here | ||
|
||
'ember-cli-tailwind': { | ||
buildTarget: 'app' | ||
} | ||
}); | ||
} | ||
``` | ||
|
||
**Use in addons** | ||
|
||
You can use Tailwind in your `/addon` code, or to style your dummy app. | ||
|
||
To style your addon code, add this to `index.js`: | ||
|
||
```js | ||
// index.js | ||
module.exports = { | ||
name: 'tailwind-dummy-app-test', | ||
|
||
options: { | ||
'ember-cli-tailwind': { | ||
buildTarget: 'addon' | ||
} | ||
} | ||
}; | ||
``` | ||
|
||
To style your dummy app, add this to `ember-cli-build.js`: | ||
|
||
```js | ||
// ember-cli-build.js | ||
module.exports = function(defaults) { | ||
let app = new EmberAddon(defaults, { | ||
// Add options here | ||
|
||
'ember-cli-tailwind': { | ||
buildTarget: 'dummy' | ||
} | ||
}); | ||
} | ||
``` | ||
|
||
# 0.2.7 | ||
|
||
Bugfix. | ||
|
||
# 0.2.4 | ||
|
||
Fix bad release. | ||
|
||
# 0.2.3 | ||
|
||
Bug fixes, CI cleanup. | ||
|
||
# 0.2.2 | ||
|
||
Fix initializer to work in apps that don't have Fastboot installed. | ||
|
||
# 0.2.1 | ||
|
||
Adds changelog. | ||
|
||
# 0.2.0 | ||
|
||
**New feature**: Adds an autogenerated `/tailwind` styleguide to your app. | ||
|
||
# 0.1.0 | ||
|
||
Initial release. | ||
Releases (along with upgrade instructions) are documented on the Github [Releases](https://github.com/embermap/ember-cli-tailwind/releases) page. |