Total Pageviews

Monday 15 July 2024

view-ui-project-vite

A template project for vue3, vue-router, vuex, viewuiplus and vite, just install and run. 

    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.*)

from  https://github.com/view-design/view-ui-project-vite

No comments:

Post a Comment