You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
Hunter c882bff6b2
feat: update
2 years ago
.husky add git hook 3 years ago
public template for vite, vue3 and ViewUIPlus 3 years ago
src feat: update 2 years ago
.env template for vite, vue3 and ViewUIPlus 3 years ago
.env.development template for vite, vue3 and ViewUIPlus 3 years ago
.env.production template for vite, vue3 and ViewUIPlus 3 years ago
.env.staging template for vite, vue3 and ViewUIPlus 3 years ago
.eslintignore add eslint 3 years ago
.eslintrc.json add eslint 3 years ago
.gitignore template for vite, vue3 and ViewUIPlus 3 years ago
README.md update readme 3 years ago
index.html import view-ui-plus 3 years ago
package-lock.json feat: update 2 years ago
package.json feat: update 2 years ago
vite.config.js feat: update 2 years ago

README.md

view-ui-project-vite

This project build for Vue3, Vue-router, Vuex, ViewUIPlus and Vite.

Install

npm install

Run

npm run serve

Build

Build for Production

npm run build

Build for Staging

npm run build:staging

Preview

Preview for Production

npm run preview

Preview for Staging

npm run preview:staging

Run Eslint

Run without Fixing

  • This operation will also run before git-commit.
npm run lint

Run with Fixing

npm run lint:fix

.env Description

  • This project exposes environment variables on import.meta.env object.
  • Different modes (development/staging/production) correspond to different environment files (.env.*).
  • .env file is always included, duplicate variables are overwritten by the specific mode file (.env.*).