diff --git a/components/Logo.vue b/components/Logo.vue deleted file mode 100644 index b1de012..0000000 --- a/components/Logo.vue +++ /dev/null @@ -1,29 +0,0 @@ - - - diff --git a/jsconfig.json b/jsconfig.json new file mode 100644 index 0000000..cd900ca --- /dev/null +++ b/jsconfig.json @@ -0,0 +1,11 @@ +{ + "compilerOptions": { + "target": "es2015", + "module": "esnext", + "baseUrl": "./", + "paths": { + "@/*": ["components/*"] + } + }, + "include": ["./**/*.vue", "./**/*.js"] +} diff --git a/layouts/default.vue b/layouts/default.vue index 6c2077d..a6a0502 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -6,15 +6,8 @@ diff --git a/nuxt.config.js b/nuxt.config.js index ab60cda..e285add 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -3,28 +3,28 @@ export default { ssr: false, // Target (https://go.nuxtjs.dev/config-target) - target: 'static', + target: "static", // Global page headers (https://go.nuxtjs.dev/config-head) head: { - title: 'ghibli-api', + title: "Ghibli", meta: [ - { charset: 'utf-8' }, - { name: 'viewport', content: 'width=device-width, initial-scale=1' }, - { hid: 'description', name: 'description', content: '' } + { charset: "utf-8" }, + { name: "viewport", content: "width=device-width, initial-scale=1" }, + { + hid: "description", + name: "description", + content: "A test project for PeopleDoc." + } ], - link: [ - { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' } - ] + link: [{ rel: "icon", type: "image/x-icon", href: "/favicon.ico" }] }, // Global CSS (https://go.nuxtjs.dev/config-css) - css: [ - ], + css: [], // Plugins to run before rendering page (https://go.nuxtjs.dev/config-plugins) - plugins: [ - ], + plugins: [], // Auto import components (https://go.nuxtjs.dev/config-components) components: true, @@ -32,14 +32,12 @@ export default { // Modules for dev and build (recommended) (https://go.nuxtjs.dev/config-modules) buildModules: [ // https://go.nuxtjs.dev/tailwindcss - '@nuxtjs/tailwindcss', + "@nuxtjs/tailwindcss" ], // Modules (https://go.nuxtjs.dev/config-modules) - modules: [ - ], + modules: [], // Build Configuration (https://go.nuxtjs.dev/config-build) - build: { - } -} + build: {} +}; diff --git a/package.json b/package.json index bb130cf..977ee9f 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,6 @@ { "name": "ghibli-api", + "description": "A test project for PeopleDoc.", "version": "1.0.0", "private": true, "scripts": { diff --git a/pages/index.vue b/pages/index.vue index a7664f7..d72ff43 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -1,78 +1,13 @@ - + diff --git a/test/Logo.spec.js b/test/Logo.spec.js deleted file mode 100644 index c5fbeeb..0000000 --- a/test/Logo.spec.js +++ /dev/null @@ -1,9 +0,0 @@ -import { mount } from '@vue/test-utils' -import Logo from '@/components/Logo.vue' - -describe('Logo', () => { - test('is a Vue instance', () => { - const wrapper = mount(Logo) - expect(wrapper.vm).toBeTruthy() - }) -})