From 6e9c3af6e74e3ed256908fff57a7e2e732184195 Mon Sep 17 00:00:00 2001 From: Farnabaz Date: Tue, 8 Jun 2021 17:04:08 +0430 Subject: [PATCH] fix(nuxtjs): use typescript --- nuxtjs.org/{docus.config.js => docus.config.ts} | 0 nuxtjs.org/{nuxt.config.js => nuxt.config.ts} | 7 +------ nuxtjs.org/tsconfig.json | 3 +++ 3 files changed, 4 insertions(+), 6 deletions(-) rename nuxtjs.org/{docus.config.js => docus.config.ts} (100%) rename nuxtjs.org/{nuxt.config.js => nuxt.config.ts} (83%) create mode 100644 nuxtjs.org/tsconfig.json diff --git a/nuxtjs.org/docus.config.js b/nuxtjs.org/docus.config.ts similarity index 100% rename from nuxtjs.org/docus.config.js rename to nuxtjs.org/docus.config.ts diff --git a/nuxtjs.org/nuxt.config.js b/nuxtjs.org/nuxt.config.ts similarity index 83% rename from nuxtjs.org/nuxt.config.js rename to nuxtjs.org/nuxt.config.ts index 92fa6295b..b3afa2d05 100644 --- a/nuxtjs.org/nuxt.config.js +++ b/nuxtjs.org/nuxt.config.ts @@ -8,16 +8,11 @@ export default withDocus({ { rel: 'stylesheet', href: 'https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&display=swap' }, { rel: 'preconnect', href: 'https://fonts.gstatic.com' } ], + buildModules: ['@nuxt/typescript-build'], windicss: { root: resolve(__dirname), config: resolve(__dirname, 'windi.config.js') }, - socialImage: { - baseUrl: 'DOMIN', - chrome: { - browserWSEndpoint: 'wss://chrome.browserless.io/' - } - }, vite: { optimizeDeps: { include: ['cookie', 'js-cookie', 'property-information', 'clipboard'], diff --git a/nuxtjs.org/tsconfig.json b/nuxtjs.org/tsconfig.json new file mode 100644 index 000000000..3c43903cf --- /dev/null +++ b/nuxtjs.org/tsconfig.json @@ -0,0 +1,3 @@ +{ + "extends": "../tsconfig.json" +}