15 |
16 | {{ props.message.content.trim() }}
17 |
18 |
19 |
20 |
39 |
--------------------------------------------------------------------------------
/nuxt.config.ts:
--------------------------------------------------------------------------------
1 | import vuetify, { transformAssetUrls } from "vite-plugin-vuetify";
2 |
3 | // https://nuxt.com/docs/api/configuration/nuxt-config
4 | export default defineNuxtConfig({
5 | //...
6 | // devtools: { enabled: true },
7 | build: {
8 | transpile: ["vuetify"],
9 | },
10 | nitro: {
11 | // Useful for debugging
12 | // minify: false,
13 | commands: {
14 | preview:
15 | "npx wrangler dev ./server/index.mjs --site ./public --remote --port 3000",
16 | },
17 | },
18 | css: ["~/assets/css/style.css"],
19 | modules: [
20 | (_options, nuxt) => {
21 | nuxt.hooks.hook("vite:extendConfig", (config) => {
22 | // @ts-expect-error
23 | config.plugins.push(vuetify({ autoImport: true }));
24 | });
25 | },
26 | //...
27 | ],
28 | vite: {
29 | vue: {
30 | template: {
31 | transformAssetUrls,
32 | },
33 | },
34 | },
35 | });
36 |
--------------------------------------------------------------------------------
/public/github-mark.svg:
--------------------------------------------------------------------------------
1 |