Skip to content

petedavisdev/fithacker

Repository files navigation

FITHACKER beta

The object is to do an array of exercises every week!

fithacker.app

About

Hello 👋 I'm Pete Davis. Fithacker is my little pet project that I'm making to motivate myself to do a variety of exercises every week. I hope you will find it useful too.

Development

You will need a .env.local file containing the following:

VITE_APP_SUPABASE_URL=
VITE_APP_SUPABASE_KEY=
npm i
npm i netlify-cli -g
netlify login
netlify link
npm start

Recommended IDE Setup

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 TypeScript Vue Plugin (Volar) to make the TypeScript language service aware of .vue types.

If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a Take Over Mode that is more performant. You can enable it by the following steps:

  1. Disable the built-in TypeScript Extension
    1. Run Extensions: Show Built-in Extensions from VSCode's command palette
    2. Find TypeScript and JavaScript Language Features, right click and select Disable (Workspace)
  2. Reload the VSCode window by running Developer: Reload Window from the command palette.