Skip to content

Commit

Permalink
Add tailwind 4
Browse files Browse the repository at this point in the history
  • Loading branch information
thefactus committed Jan 25, 2025
1 parent 78a75ee commit 477eafe
Show file tree
Hide file tree
Showing 7 changed files with 1,064 additions and 1,115 deletions.
1 change: 1 addition & 0 deletions app/app.css
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@import "tailwindcss";
1 change: 1 addition & 0 deletions app/app.ts
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 'lofi/config/environment';
import 'lofi/app.css';

export default class App extends Application {
modulePrefix = config.modulePrefix;
Expand Down
7 changes: 5 additions & 2 deletions app/templates/application.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@
{{outlet}}

{{! The following component displays Ember's default welcome message. }}
<WelcomePage />
{{! Feel free to remove this! }}
{{! Feel free to remove this! }}

<h1 class="text-3xl font-bold underline">
Hello world!
</h1>
12 changes: 12 additions & 0 deletions ember-cli-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,17 @@ module.exports = function (defaults) {
package: 'qunit',
},
],
packagerOptions: {
webpackConfig: {
module: {
rules: [
{
test: /\.css$/i,
use: ['postcss-loader'],
},
],
},
},
},
});
};
Loading

0 comments on commit 477eafe

Please sign in to comment.