Skip to content

Commit

Permalink
Implementation of DarkMode
Browse files Browse the repository at this point in the history
  • Loading branch information
hiamir committed Oct 20, 2022
1 parent de7ebdb commit 088c9c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions resources/js/components/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export function Main(){

init() {
Alpine.effect(() => {
this.darkMode=true;
console.log(this.darkMode);
});
}
Expand Down

0 comments on commit 088c9c4

Please sign in to comment.