Skip to content

Commit

Permalink
adds tailwind
Browse files Browse the repository at this point in the history
yells at the screen as well
  • Loading branch information
floriank committed Nov 24, 2023
1 parent fa78c81 commit c4bb055
Show file tree
Hide file tree
Showing 8 changed files with 607 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/app.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
1 change: 1 addition & 0 deletions app/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import Application from '@ember/application';
import Resolver from 'ember-resolver';
import loadInitializers from 'ember-load-initializers';
import config from 'bildungsurlaub/config/environment';
import 'bildungsurlaub/app.css';

export default class App extends Application {
modulePrefix = config.modulePrefix;
Expand Down
4 changes: 4 additions & 0 deletions app/styles/app.css
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
/* Ember supports plain CSS out of the box. More info: https://cli.emberjs.com/release/advanced-use/stylesheets/ */

@tailwind base;
@tailwind components;
@tailwind utilities;
21 changes: 21 additions & 0 deletions ember-cli-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,26 @@ module.exports = function (defaults) {
package: 'qunit',
},
],
packagerOptions: {
webpackConfig: {
module: {
rules: [
{
test: /\.css$/i,
use: [
{
loader: 'postcss-loader',
options: {
postcssOptions: {
config: 'postcss.config.js',
},
},
},
],
},
],
},
},
},
});
};
Loading

0 comments on commit c4bb055

Please sign in to comment.