feat: paths update

This commit is contained in:
FairyEver 2021-10-27 10:22:55 +08:00
parent 48e9d8dff4
commit 9ccdf9d665
3 changed files with 2 additions and 7 deletions

View File

@ -1,14 +1,11 @@
{
"files.exclude": {
"node_modules": true,
"postcss.config.js": true,
"components.d.ts": true,
"index.html": true,
"jsconfig.json": true,
"package-lock.json": true,
"package.json": true,
"README.md": true,
"tailwind.config.js": true,
".gitignore": true,
".vscode": true,
"public": true

View File

@ -5,8 +5,7 @@
"baseUrl": "./",
"paths": {
"@/*": ["src/*"],
"d2-admin/*": ["d2-admin/*"],
"d2-projects/*": ["d2-projects/*"]
"d2/*": ["d2/*"]
},
// strict and moduleResolution is for volar
// https://github.com/johnsoncodehk/volar#note

View File

@ -3,8 +3,7 @@ module.exports = {
purge: [
'./*.html',
'./src/**/*.{js,jsx,vue}',
'./d2-admin/**/*.{js,jsx,vue}',
'./d2-projects/**/*.{js,jsx,vue}'
'./d2/**/*.{js,jsx,vue}'
],
darkMode: false,
theme: {