diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..6d3c276 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,15 @@ +# https://editorconfig.org +root = true + +[*] +charset = utf-8 +indent_style = space +indent_size = 2 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true +quote_type = single + +[*.md] +insert_final_newline = false +trim_trailing_whitespace = false diff --git a/.env b/.env new file mode 100644 index 0000000..4b46f98 --- /dev/null +++ b/.env @@ -0,0 +1,13 @@ +# 所有情况下都会加载 +VITE_APP_COMPANYNAME=泰阿新材(深圳)有限公司 + +VITE_APP_PHONE=0755-2361-2502 + +VITE_APP_EMAIL=2689392044@qq.com + +VITE_APP_QQ=421354532 + +VITE_APP_BLOG=https://neveryu.github.io/ + +VITE_APP_ADDRESS=深圳市福田区华强北街道华航社区华强北路3003号上步工业区7栋上步工业区105栋港澳城5层 +VITE_APP_QQGROUP=832485817 diff --git a/.env.development b/.env.development new file mode 100644 index 0000000..27340c6 --- /dev/null +++ b/.env.development @@ -0,0 +1,5 @@ +# .env.development +# 开发环境使用的环境变量 + +#VITE_APP_TITLE=[dev]公司官网 +VITE_APP_TITLE=泰阿新材(深圳)有限公司 diff --git a/.env.production b/.env.production new file mode 100644 index 0000000..944ad9a --- /dev/null +++ b/.env.production @@ -0,0 +1,5 @@ +# .env.production +# 生产环境使用的环境变量 + +#VITE_APP_TITLE=[prod]公司官网 +VITE_APP_TITLE=泰阿新材(深圳)有限公司 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b398d22 --- /dev/null +++ b/.gitignore @@ -0,0 +1,26 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* +lerna-debug.log* + +node_modules +dist +dist-ssr +*.local + +# Editor directories and files +.vscode/* +!.vscode/extensions.json +.idea +.DS_Store +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? + +package-lock.json diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..abe3549 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,15 @@ +{ + "semi": false, + "singleQuote": true, + "trailingComma": "none", + "printWidth": 80, + "endOfLine": "crlf", + "overrides": [ + { + "files": ".prettierrc", + "options": { + "parser": "json" + } + } + ] +} diff --git a/README.md b/README.md new file mode 100644 index 0000000..dd97ff0 --- /dev/null +++ b/README.md @@ -0,0 +1,61 @@ +# Official-website + +> 响应式的企业官方网站模板,使用 [Vite](https://cn.vitejs.dev/) 脚手架搭建,使用 [Vue3](https://cn.vuejs.org/) 开发。 + +## 运行/启动 + +```bash +npm i + +npm run dev +``` + +## 构建&预览 +```bash +# 构建生产环境 +npm run build + +# 预览构建的产品 +npm run preview +``` + +## Vue 3 + Vite + +This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 ` --> + +
+ + + +