diff --git a/front/app.vue b/front/app.vue index 656fd85..f7ddcf5 100644 --- a/front/app.vue +++ b/front/app.vue @@ -7,7 +7,7 @@ import 'assets/main.scss' HEADER
diff --git a/front/assets/main.scss b/front/assets/main.scss index 8ee4c8d..d87b667 100644 --- a/front/assets/main.scss +++ b/front/assets/main.scss @@ -3,7 +3,7 @@ @tailwind utilities; .container { - @apply grid grid-cols-12 mx-auto + @apply grid grid-cols-12 mx-auto gap-4 } .header { diff --git a/front/components/sidebar.vue b/front/components/sidebar.vue new file mode 100644 index 0000000..84e9f8e --- /dev/null +++ b/front/components/sidebar.vue @@ -0,0 +1,14 @@ + + \ No newline at end of file diff --git a/front/helpers.ts b/front/helpers.ts new file mode 100644 index 0000000..baadad4 --- /dev/null +++ b/front/helpers.ts @@ -0,0 +1,15 @@ +const config = useRuntimeConfig() +export const apiBase = config.public.apiBase + +export type ApiTypeBase = { + count: number; + next?: any; + previous?: any; + results: any[]; +} + +export type ApiTypeExternalPartners = { + 'НаименованиеПолное': string; + Description: string; + Ref_Key: string; +} \ No newline at end of file diff --git a/front/nuxt.config.ts b/front/nuxt.config.ts index 0f3b887..d38500c 100644 --- a/front/nuxt.config.ts +++ b/front/nuxt.config.ts @@ -1,5 +1,11 @@ // https://nuxt.com/docs/api/configuration/nuxt-config export default defineNuxtConfig({ + ssr: false, devtools: { enabled: true }, - modules: ["@nuxt/ui"] + modules: ["@nuxt/ui"], + runtimeConfig: { + public: { + apiBase: '', + }, + }, }) \ No newline at end of file diff --git a/front/pages/organization/index.vue b/front/pages/organization/index.vue new file mode 100644 index 0000000..916bc43 --- /dev/null +++ b/front/pages/organization/index.vue @@ -0,0 +1,17 @@ + + \ No newline at end of file diff --git a/front/pages/organization/new.vue b/front/pages/organization/new.vue new file mode 100644 index 0000000..4ed0a51 --- /dev/null +++ b/front/pages/organization/new.vue @@ -0,0 +1,48 @@ + + \ No newline at end of file