Skip to content

Commit

Permalink
feat: add code
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Super-X committed May 19, 2022
1 parent 96eb9db commit 473b0fb
Show file tree
Hide file tree
Showing 38 changed files with 34,277 additions and 8,176 deletions.
4 changes: 4 additions & 0 deletions .env.development
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
NODE_ENV = 'development'
VUE_APP_TITLE = '开发环境'
VUE_APP_PATH = 'https://xx.xx.com'
VUE_APP_API_PATH = 'https://xx.xx.com'
4 changes: 4 additions & 0 deletions .env.production
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
NODE_ENV = 'production'
VUE_APP_TITLE = '生产环境'
VUE_APP_PATH = 'https://xx.xx.com'
VUE_APP_API_PATH = 'https://xx.xx.com'
4 changes: 4 additions & 0 deletions .env.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
NODE_ENV = 'production'
VUE_APP_TITLE = '测试环境'
VUE_APP_PATH = 'https://xx.xx.com'
VUE_APP_API_PATH = 'https://xx.xx.com'
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ pnpm-debug.log*
*.sln
*.sw?

.vercel
# webpack config output files
output.js
29 changes: 9 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,35 +1,24 @@
# Vue.js

This directory is a brief example of a [Vue.js](https://vuejs.org/) app that can be deployed to Vercel with zero configuration.

## Deploy Your Own

Deploy your own Vue.js project with Vercel.

[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/vercel/vercel/tree/main/examples/vue&template=vue)

_Live Example: https://vue-template.vercel.app_

## Running Locally
# vue3-admin

## Project setup
```
yarn install
```

#### Compile and hot-reload for development

### Compiles and hot-reloads for development
```
yarn serve
```

#### Compile and minify for production

### Compiles and minifies for production
```
yarn build
```

#### Lint and fix files

### Lints and fixes files
```
yarn lint
```
```

### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).
11 changes: 11 additions & 0 deletions auto-imports.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// Generated by 'unplugin-auto-import'
// We suggest you to commit this file into source control
declare global {
const ElAside: typeof import('element-plus/es')['ElAside']
const ElConfigProvider: typeof import('element-plus/es')['ElConfigProvider']
const ElContainer: typeof import('element-plus/es')['ElContainer']
const ElFooter: typeof import('element-plus/es')['ElFooter']
const ElHeader: typeof import('element-plus/es')['ElHeader']
const ElMain: typeof import('element-plus/es')['ElMain']
}
export {}
19 changes: 19 additions & 0 deletions components.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// generated by unplugin-vue-components
// We suggest you to commit this file into source control
// Read more: https://github.com/vuejs/vue-next/pull/3399
import '@vue/runtime-core'

declare module '@vue/runtime-core' {
export interface GlobalComponents {
ElAside: typeof import('element-plus/es')['ElAside']
ElConfigProvider: typeof import('element-plus/es')['ElConfigProvider']
ElContainer: typeof import('element-plus/es')['ElContainer']
ElFooter: typeof import('element-plus/es')['ElFooter']
ElHeader: typeof import('element-plus/es')['ElHeader']
ElMain: typeof import('element-plus/es')['ElMain']
RouterLink: typeof import('vue-router')['RouterLink']
RouterView: typeof import('vue-router')['RouterView']
}
}

export {}
Loading

1 comment on commit 473b0fb

@vercel
Copy link

@vercel vercel bot commented on 473b0fb May 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

vue3-admin – ./

vue3-admin-mr-super-x.vercel.app
vue3-admin-beta.vercel.app
vue3-admin-git-main-mr-super-x.vercel.app

Please sign in to comment.