Skip to content

Murph9/money.murph9.com

Repository files navigation

moneyButDaily

A Vue static stite Deployed to an AWS S3 bucket, with user auth to another S3 bucket file for the data

Recommended IDE Setup

VSCode + Volar (and disable Vetur).

Type Support for .vue Imports in TS

TypeScript cannot handle type information for .vue imports by default, so we replace the tsc CLI with vue-tsc for type checking. In editors, we need Volar to make the TypeScript language service aware of .vue types.

Customize configuration

See Vite Configuration Reference.

Project Setup

project root> npm install

Compile and Hot-Reload for Development

project root> npm run dev

Type-Check, Compile and Minify for Production

project root> npm run build

Deploy

project root> .\deploy.ps1 -BucketName money.murph9.com
project root> aws cloudfront create-invalidation --distribution-id EDWBAVRGQTLM7 --paths "/*"