Skip to content

MathematicusLucian/crypto-dash-ui

Repository files navigation

crypto-dash-ui

Vite + Vue 3 + TypeScript

Create template

npm create vite@latest crypto-dash-ui -- --template vue-ts

cd crypto-dash-ui

npm i && npm run dev

The template uses Vue 3 <script setup> SFCs (script setup docs). More info on the recommended Project Setup and IDE Support can be found in the Vue Docs TypeScript Guide.

Recommended Approach

Run UI

You can specify additional CLI options, such as --port or --open. For a full list of CLI options, run npx vite --help in your project.

Run app with Dev env config

npm run dev or npx run dev

The site will launch at: http://localhost:5173/

Run app with Build env config

npm run build or npx run build

By default, it uses <root>/index.html as the build entry point, and produces an application bundle that is suitable to be served over a static hosting service. Check out the Deploying a Static Site for guides about popular services.

Run app as preview

After you've built the app, you may test it locally by running npm run preview command: npm run preview or npx run preview. This will boot up a local static web server that serves the files from dist at http://localhost:4173.

Deployment