Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Chase committed Jul 25, 2022
1 parent 02a663f commit b36d563
Show file tree
Hide file tree
Showing 6 changed files with 105 additions and 70 deletions.
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
{
"name": "@nathanchase/nuxt-dayjs-module",
"version": "1.0.3",
"version": "1.0.5",
"private": false,
"description": "This is a Nuxt 3 compatible module built with the official Nuxt 3 (module-builder)(https://github.com/nuxt/module-builder) for (dayjs)(https://github.com/iamkun/dayjs/).",
"repository": {
"type": "git",
"url": "git+https://github.com/nathanchase/dayjs.git"
},
"keywords": [
"dayjs",
"nuxt",
"nuxt3"
],
"author": "Nathan Chase",
"homepage": "https://github.com/nathanchase/dayjs#readme",
"bugs": {
"url": "https://github.com/nathanchase/dayjs/issues"
},
"homepage": "https://github.com/nathanchase/dayjs#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/nathanchase/dayjs.git"
},
"license": "MIT",
"author": "Nathan Chase",
"type": "module",
"exports": {
".": {
Expand All @@ -29,12 +30,11 @@
"files": [
"dist"
],
"private": false,
"scripts": {
"prepack": "nuxt-module-build",
"dev": "nuxi dev playground",
"dev:build": "nuxi build playground",
"dev:prepare": "nuxt-module-build --stub && nuxi prepare playground"
"dev:prepare": "nuxt-module-build --stub && nuxi prepare playground",
"prepack": "nuxt-module-build"
},
"dependencies": {
"@nuxt/kit": "^3.0.0-rc.6",
Expand Down
1 change: 1 addition & 0 deletions playground/app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<p> Unformatted: {{ new Date() }}</p>
<p> Formatted with dayjs (template): {{ $dayjs(new Date()).format('DD/MM/YYYY') }}</p>
<p> Formatted with dayjs (computed): {{ prettyDate }}</p>
<p> Formatted with dayjs (RelativeTime): {{ $dayjs(new Date()).fromNow() }}</p>
</div>
</template>

Expand Down
128 changes: 79 additions & 49 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b36d563

Please sign in to comment.