From 71fbf9dd484eca1f267163c94bd7f8b805b3afb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B4=AE=E7=94=9F?= Date: Fri, 12 Mar 2021 19:08:10 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8feat(frontend):=20=E5=BC=95=E5=85=A5?= =?UTF-8?q?=20tailwind?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/frontend/package.json | 5 +- apps/frontend/postcss.config.js | 6 + apps/frontend/src/App.vue | 28 ++-- apps/frontend/src/index.css | 11 ++ apps/frontend/src/main.ts | 7 +- apps/frontend/tailwind.config.js | 11 ++ yarn.lock | 273 ++++++++++++++++++++++++++++++- 7 files changed, 312 insertions(+), 29 deletions(-) create mode 100644 apps/frontend/postcss.config.js create mode 100644 apps/frontend/src/index.css create mode 100644 apps/frontend/tailwind.config.js diff --git a/apps/frontend/package.json b/apps/frontend/package.json index cccaa92..533ee90 100644 --- a/apps/frontend/package.json +++ b/apps/frontend/package.json @@ -12,7 +12,10 @@ "devDependencies": { "@vitejs/plugin-vue": "^1.1.5", "@vue/compiler-sfc": "^3.0.5", + "autoprefixer": "^10.2.5", + "postcss": "^8.2.8", + "tailwindcss": "^2.0.3", "typescript": "^4.1.3", "vite": "^2.0.5" } -} \ No newline at end of file +} diff --git a/apps/frontend/postcss.config.js b/apps/frontend/postcss.config.js new file mode 100644 index 0000000..33ad091 --- /dev/null +++ b/apps/frontend/postcss.config.js @@ -0,0 +1,6 @@ +module.exports = { + plugins: { + tailwindcss: {}, + autoprefixer: {}, + }, +} diff --git a/apps/frontend/src/App.vue b/apps/frontend/src/App.vue index 33af2c6..cfb834b 100644 --- a/apps/frontend/src/App.vue +++ b/apps/frontend/src/App.vue @@ -4,27 +4,21 @@ >serverless版) -