-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: add support for nuxt 3/nuxt bridge (#94)
* refactor: use @nuxt/kit * feat: support `vue-meta` and `@vueuse/head` * feat: use nitro publicAssets * chore: update lock files * fix: add semicolon * chore: use yarn * chore: add playground * fix: parse fonts on head * test: update using `@nuxt/test-utils` * test: don't rely on nuxt context to get rootDir * chore: run vitest only once * chore: upgrade nuxt to rc6 * test: add package.json stubs for windows nuxt/module-builder#22 * test: simplify Co-authored-by: Daniel Roe <daniel@roe.dev>
- Loading branch information
1 parent
0e2e2f5
commit fbe5d77
Showing
29 changed files
with
4,223 additions
and
9,416 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -9,4 +9,5 @@ coverage | |
dist | ||
sw.* | ||
.env | ||
.output | ||
test/fixture/download/assets |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
|
||
<template> | ||
<div> | ||
<h1>Google Fonts</h1> | ||
<div style="font-family: 'Roboto';"> | ||
Roboto | ||
</div> | ||
<div style="font-family: 'Mulish';"> | ||
Mulish | ||
</div> | ||
</div> | ||
</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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { defineNuxtConfig } from 'nuxt' | ||
import GoogleFontsModule from '..' | ||
|
||
export default defineNuxtConfig({ | ||
modules: [ | ||
GoogleFontsModule | ||
], | ||
googleFonts: { | ||
families: { | ||
Roboto: true, | ||
Mulish: true | ||
} | ||
} | ||
}) |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"name": "@nuxtjs/google-fonts-playground" | ||
} |
Oops, something went wrong.