Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .env.development
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
VUE_APP_BASE_API=http://api.test.xxx.xxx.com
VITE_BASE_API=http://api.test.xxx.xxx.com/api
1 change: 0 additions & 1 deletion .env.production
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
VUE_APP_BASE_API=http://api.test.xxx.xxx.com/api/production
VITE_BASE_API=http://api.test.xxx.xxx.com/api/production
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@
/coverage

# production
.DS_Store
/dist
/dist-ssr
temp

# misc
.DS_Store
Expand Down
1 change: 0 additions & 1 deletion .stylelintignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
node_modules
bin
obj
*.*
!*.vue
!*.css
Expand Down
70 changes: 35 additions & 35 deletions .stylelintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,63 +1,63 @@
module.exports = {
"extends": [
"stylelint-config-standard",
"stylelint-config-standard-scss",
"stylelint-config-recommended-vue",
"stylelint-config-recommended-vue/scss"
'extends': [
'stylelint-config-standard',
'stylelint-config-standard-scss',
'stylelint-config-recommended-vue',
'stylelint-config-recommended-vue/scss'
],
"ignoreFiles": ["**/*.js", "**/*.ts"],
"defaultSeverity": "error",
"rules": {
"unit-disallowed-list": [
"rem",
"pt"
'ignoreFiles': ['**/*.js', '**/*.ts'],
'defaultSeverity': 'error',
'rules': {
'unit-disallowed-list': [
'rem',
'pt'
],
"no-empty-source": null,
"block-no-empty": null,
'no-empty-source': null,
'block-no-empty': null,
'declaration-block-no-duplicate-custom-properties': null,
"font-family-no-missing-generic-family-keyword": null,
'font-family-no-missing-generic-family-keyword': null,

"selector-class-pattern": "^[a-z]([a-z0-9-]+)?(__([a-z0-9]+-?)+)?(__([a-z0-9]+-?)+)?(--([a-z0-9]+-?)+){0,2}$|^Mui.*$|^([a-z][a-z0-9]*)(_[a-z0-9]+)*$",
'selector-class-pattern': '^[a-z]([a-z0-9-]+)?(__([a-z0-9]+-?)+)?(__([a-z0-9]+-?)+)?(--([a-z0-9]+-?)+){0,2}$|^Mui.*$|^([a-z][a-z0-9]*)(_[a-z0-9]+)*$',

"scss/at-mixin-pattern": "^[a-z]([a-z0-9-]+)?(__([a-z0-9]+-?)+)?(__([a-z0-9]+-?)+)?(--([a-z0-9]+-?)+){0,2}$|^Mui.*$|^([a-z][a-z0-9]*)(_[a-z0-9]+)*$",
"scss/double-slash-comment-whitespace-inside": "always",
"scss/dollar-variable-pattern": null,
'scss/at-mixin-pattern': '^[a-z]([a-z0-9-]+)?(__([a-z0-9]+-?)+)?(__([a-z0-9]+-?)+)?(--([a-z0-9]+-?)+){0,2}$|^Mui.*$|^([a-z][a-z0-9]*)(_[a-z0-9]+)*$',
'scss/double-slash-comment-whitespace-inside': 'always',
'scss/dollar-variable-pattern': null,

"selector-pseudo-class-no-unknown": [
'selector-pseudo-class-no-unknown': [
true,
{
"ignorePseudoClasses": [
"export",
"deep"
'ignorePseudoClasses': [
'export',
'deep'
]
}
],
"property-no-unknown": null,
"at-rule-empty-line-before": [
"always",
'property-no-unknown': null,
'at-rule-empty-line-before': [
'always',
{
"except": ["first-nested", "blockless-after-same-name-blockless"]
'except': ['first-nested', 'blockless-after-same-name-blockless']
}
],
"custom-property-empty-line-before": [
"always",
'custom-property-empty-line-before': [
'always',
{
"except": ["after-custom-property", "first-nested"]
'except': ['after-custom-property', 'first-nested']
}
],
"declaration-empty-line-before": [
"always",
'declaration-empty-line-before': [
'always',
{
"except": ["after-declaration", "first-nested"]
'except': ['after-declaration', 'first-nested']
}
],
"rule-empty-line-before": ["always-multi-line"],
'rule-empty-line-before': ['always-multi-line'],

// 忽视 -webkit-xxxx 等兼容写法
"property-no-vendor-prefix": [
'property-no-vendor-prefix': [
true,
{
ignoreProperties: ["box-shadow"]
ignoreProperties: ['box-shadow']
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022 Wisdom
Copyright (c) 2022-PRESENT Wisdom

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
6 changes: 0 additions & 6 deletions guide.md

This file was deleted.

2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<link rel="icon" href="/favicon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite Naive Template</title>
<title>Vue3 Tab Demo</title>
</head>
<body>
<div id="app"></div>
Expand Down
6 changes: 0 additions & 6 deletions renovate.json

This file was deleted.

2 changes: 1 addition & 1 deletion src/base/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export const systemTitleEn = 'Vite Naive Template'
export const systemTitleEn = 'Vue3 Tab Demo'
export const systemTitleZh = 'NaiveUI Template 项目'
// export const systemTitleZh = ''
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const htmlPlugin = () => {
transformIndexHtml (html) {
return html.replace(
/<title>(.*?)<\/title>/,
'<title>Vite Naive Template</title>'
'<title>Vue3 Tab Demo</title>'
)
}
}
Expand Down