mirror of
https://github.com/Fluffy-Bean/TastyBites.git
synced 2024-12-28 02:16:07 +00:00
e0969ae66f
It is considered a best practice to avoid the use of any `console` methods in JavaScript code that will run on the browser. **NOTE:** If your repository contains a server side project, you can add `"nodejs"` to the `environment` property of analyzer meta in `.deepsource.toml`. This will prevent this issue from getting raised. Documentation for the analyzer meta can be found [here](https://docs.deepsource.com/docs/analyzers-javascript#meta). Alternatively, you can silence this issue for your repository [as shown here](https://deepsource.com/blog/releases-issue-actions). If a specific `console` call is meant to stay for other reasons, you can add [a skipcq comment](https://docs.deepsource.com/docs/issues-ignore-rules#silencing-a-specific-issue) to that line. This will inform other developers about the reason behind the log's presence, and prevent DeepSource from flagging it. |
||
---|---|---|
.. | ||
public | ||
src | ||
.gitignore | ||
embed.go | ||
index.html | ||
jsconfig.json | ||
package-lock.json | ||
package.json | ||
README.md | ||
svelte.config.js | ||
vite.config.js |
TastyBites Frontend
The Frontend is written in Svelte using the Svelte-SPA-Router plugin to create
"fake" routes, as using a javascript backend would make me wanna game end. As Go can include
files, you simply need to compile the front end by running npm run build
or go generate front/embed.go
.