-
-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: code transformer for playground
- Loading branch information
1 parent
481d2e7
commit 7bf9dab
Showing
15 changed files
with
5,702 additions
and
1,610 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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,6 +1,6 @@ | ||
<template> | ||
<div class="hero"> | ||
<h1>TempoJS</h1> | ||
<header> | ||
<img src="~/assets/logo-light.svg" alt="Tempo" /> | ||
<p>The easiest way to work with dates in JavaScript.</p> | ||
</div> | ||
</header> | ||
</template> |
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,3 +1,5 @@ | ||
import { format } from "@formkit/tempo" | ||
|
||
format(new Date(), "MM/DD/YYYY") | ||
const x = format(new Date(), "MM/DD/YYYY") | ||
|
||
console.log(x) |
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,21 +1,26 @@ | ||
// https://nuxt.com/docs/api/configuration/nuxt-config | ||
export default defineNuxtConfig({ | ||
modules: ["@nuxtjs/tailwindcss"], | ||
app: { | ||
head: { | ||
htmlAttrs: { | ||
class: "dark:bg-slate-900 dark:text-white", | ||
}, | ||
}, | ||
}, | ||
tailwindcss: { | ||
config: { | ||
darkMode: "class", | ||
theme: { | ||
fontFamily: { | ||
mono: ["Menlo", "Monaco", "Courier New", "monospace"], | ||
}, | ||
}, | ||
}, | ||
}, | ||
experimental: { | ||
componentIslands: true, | ||
}, | ||
css: ["~/assets/css/main.css"], | ||
postcss: { | ||
plugins: { | ||
tailwindcss: {}, | ||
autoprefixer: {}, | ||
}, | ||
}, | ||
devtools: { enabled: false }, | ||
}) |
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
Oops, something went wrong.