四川日报项目

rindy 983938d9d5 Merge branch 'master' of http://192.168.0.115:3000/tangning/SichuanDaily 11 tháng trước cách đây
.vscode cf6855d4d9 init 11 tháng trước cách đây
public cf6855d4d9 init 11 tháng trước cách đây
src 983938d9d5 Merge branch 'master' of http://192.168.0.115:3000/tangning/SichuanDaily 11 tháng trước cách đây
test cf6855d4d9 init 11 tháng trước cách đây
.cypress-cucumber-preprocessorrc.json cf6855d4d9 init 11 tháng trước cách đây
.eslintrc cf6855d4d9 init 11 tháng trước cách đây
.gitignore cf6855d4d9 init 11 tháng trước cách đây
.prettierignore cf6855d4d9 init 11 tháng trước cách đây
.prettierrc cf6855d4d9 init 11 tháng trước cách đây
.stylelintrc cf6855d4d9 init 11 tháng trước cách đây
README.md f31c404ee6 first commit 11 tháng trước cách đây
cypress.config.ts cf6855d4d9 init 11 tháng trước cách đây
e2e_wsl_setup.sh cf6855d4d9 init 11 tháng trước cách đây
index.html 02baf09fe0 feat: 添加场景 11 tháng trước cách đây
package-lock.json cf6855d4d9 init 11 tháng trước cách đây
package.json cf6855d4d9 init 11 tháng trước cách đây
pnpm-lock.yaml 02baf09fe0 feat: 添加场景 11 tháng trước cách đây
postcss.config.js cf6855d4d9 init 11 tháng trước cách đây
tailwind.config.ts cf6855d4d9 init 11 tháng trước cách đây
tsconfig.json cf6855d4d9 init 11 tháng trước cách đây
vite.config.ts cf6855d4d9 init 11 tháng trước cách đây
yarn.lock cf6855d4d9 init 11 tháng trước cách đây

README.md

validation status

Vue 3 + Typescript + Vite

This template should help get you started developing with Vue 3 and Typescript in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.

Recommended IDE Setup

Type Support For .vue Imports in TS

Since TypeScript cannot handle type information for .vue imports, they are shimmed to be a generic Vue component type by default. In most cases this is fine if you don't really care about component prop types outside of templates. However, if you wish to get actual prop types in .vue imports (for example to get props validation when using manual h(...) calls), you can enable Volar's .vue type support plugin by running Volar: Switch TS Plugin on/off from VSCode command palette.

Getting started

  • Install node LTS
    • Currently 18.x (deprecated) and 20.x (current) are supported
  • run npm i in the root dir to install all dependencies

Commands

  • npm run dev
    • Starts the local dev Vite server
  • npm run build
    • Generates a production build for deployment
  • npm run serve
    • Serves up the static content generated via npm run build
  • npm run test
    • Runs all unit tests in test/unit (uses vitest)
  • npm run test:watch
    • Runs all unit tests in test/unit with watch mode enabled (uses vitest)
  • npm run coverage
    • Runs all unit tests in test/unit with coverage reports (uses vitest)
  • npm run test:e2e
    • Starts a local dev server and starts the Cypress interactive test runner
  • npm run test:e2e:headless
    • Starts a local dev server and starts the Cypress headless test runner
  • npm run lint
    • Run linter checks (configurable via .eslintrc)
  • npm run format
    • Run Prettier formatting for all files