-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from AnimalFoodBank:feature/20231106-login-ui
Add login endpoint with templates and pinia
- Loading branch information
Showing
26 changed files
with
1,148 additions
and
305 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,3 +59,4 @@ pytest | |
pytest-django | ||
coverage | ||
ipdb | ||
Werkzeug |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# https://vitejs.dev/guide/env-and-mode.html#env-files | ||
# | ||
# This env file is loaded for all commands. See order of | ||
# precedence in the vite docs above. | ||
# | ||
# e.g. in main.ts you can access the env variables like | ||
# this: import.meta.env.VITE_BASE_URL. | ||
# | ||
# Note: only variables that start with VITE_ will be made | ||
# available in your code. To expose a system env variable | ||
# you can prefix it with VITE_ like VITE_NODE_ENV=production. | ||
|
||
VITE_BASE_URL=http://127.0.0.1:8000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/** | ||
* PostCSS configuration file | ||
* | ||
* re: vite issue #11894 - TypeScript and ESM support | ||
* | ||
* Workaround is applied in tsconfig.json. The issue is | ||
* that PostCSS does not support ESM syntax, and the | ||
* workaround is to use CommonJS syntax in the config | ||
* file, which is transpiled to ESM syntax by TypeScript. | ||
* This is not ideal, but it works. | ||
* | ||
* More info: | ||
* TypeScript is a statically typed superset of JavaScript, | ||
* adding type safety to the language. ECMAScript Modules | ||
* (ESM) is a module system in JavaScript, introducing | ||
* import and export syntax for modular code. TypeScript | ||
* supports ESM syntax and can transpile it to other | ||
* module systems for compatibility. | ||
* | ||
* @see | ||
* https://github.com/vitejs/vite/issues/11894 | ||
* https://tailwindcss.com/blog/tailwindcss-v3-3#esm-and-typescript-support | ||
* https://github.com/postcss/postcss-load-config/issues/239 - workaround | ||
* https://github.com/postcss/postcss-load-config/issues/246 | ||
*/ | ||
import postcssImport from 'postcss-import'; | ||
import tailwindcss from 'tailwindcss'; | ||
import autoprefixer from 'autoprefixer'; | ||
|
||
export default { | ||
plugins: [ | ||
postcssImport, | ||
tailwindcss, | ||
autoprefixer, | ||
] | ||
} |
Oops, something went wrong.