diff --git a/front/app.vue b/front/app.vue index 2bd7ea7..d7a9d02 100644 --- a/front/app.vue +++ b/front/app.vue @@ -3,6 +3,7 @@ const links = [[ { label: 'Состояние вендотеков', icon: 'i-heroicons-credit-card', + to: '/vtk' }, { label: 'Офис', to: '/vtk/office' }, { label: 'Парк', to: '/vtk/park' }, @@ -11,6 +12,7 @@ const links = [[ { label: 'Вебхуки битрикса', icon: 'i-heroicons-clipboard-document-list', + to: '/bx' }, { label: 'Gitea', to: '/bx/gitea' }, { label: 'Tg', to: '/bx/tg' }, diff --git a/front/nuxt.config.ts b/front/nuxt.config.ts index a06ebf1..8bdcc94 100644 --- a/front/nuxt.config.ts +++ b/front/nuxt.config.ts @@ -1,7 +1,12 @@ // https://nuxt.com/docs/api/configuration/nuxt-config export default defineNuxtConfig({ devtools: { enabled: true }, - modules: ["@nuxt/ui"], + modules: ["@nuxt/ui", '@nuxtjs/tailwindcss'], + tailwindcss: { + exposeConfig: true, + viewer: true, + // and more... + }, ssr: false, devServer: { port: 3010 diff --git a/front/pages/bx/[slug].vue b/front/pages/bx/[slug].vue index 31eaea5..033e26b 100644 --- a/front/pages/bx/[slug].vue +++ b/front/pages/bx/[slug].vue @@ -1,3 +1,11 @@ \ No newline at end of file diff --git a/front/pages/bx/index.vue b/front/pages/bx/index.vue index 5cd1e98..30c408f 100644 --- a/front/pages/bx/index.vue +++ b/front/pages/bx/index.vue @@ -1,3 +1,5 @@ \ No newline at end of file diff --git a/front/pages/vtk/index.vue b/front/pages/vtk/index.vue index ea70064..2fc6a83 100644 --- a/front/pages/vtk/index.vue +++ b/front/pages/vtk/index.vue @@ -1,3 +1,5 @@ \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 7931e03..fcc46ec 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,5 +20,5 @@ requires = ["poetry-core"] build-backend = "poetry.core.masonry.api" [tool.taskipy.tasks] -build = "cd front && npm install && npm run generate" +build = "cd front && npm install --production && npm run generate" start = "uvicorn main:app --reload --host 0.0.0.0 --port 8000" \ No newline at end of file