TownPass-Services project made with Vue3 in Vite.
VSCode + Volar (and disable Vetur).
pnpm installpnpm devpnpm buildLint with ESLint
pnpm lint-
for
VITE_GOOGLE_API_KEY- create .env file at root and add your own google api key like .env.sample
- you can get your own api key at https://ai.google.dev/gemini-api/docs/api-key
-
for
VITE_GOOGLE_SEARCH_KEY- open https://console.cloud.google.com/welcome and create a new project for the api key, select top left corner menu and click API and services, on top, search "google search", choose first and enable the service, and generate a new api key that is different from
VITE_GOOGLE_API_KEY, must be different or VERY buggy
- open https://console.cloud.google.com/welcome and create a new project for the api key, select top left corner menu and click API and services, on top, search "google search", choose first and enable the service, and generate a new api key that is different from
-
for
VITE_GOOGLE_CX- https://stackoverflow.com/questions/6562125/getting-a-cx-id-for-custom-search-google-api-python follow the link's first comment to obtain the id of your search engine, which is
VITE_GOOGLE_CX
- https://stackoverflow.com/questions/6562125/getting-a-cx-id-for-custom-search-google-api-python follow the link's first comment to obtain the id of your search engine, which is