npm install -g @aws-amplify/cli
npm init private
amplify init
? Enter a name for the project tenant
? Enter a name for the environment develop
? Choose your default editor: Visual Studio Code
vite.config.ts | |
src/vite-env.d.ts | |
dist |
# Editor configuration, see http://editorconfig.org | |
root = true | |
[*] | |
charset = utf-8 | |
end_of_line = lf | |
indent_size = 2 | |
indent_style = space | |
insert_final_newline = true | |
trim_trailing_whitespace = true |
npm install -g @aws-amplify/cli
npm init private
amplify init
? Enter a name for the project tenant
? Enter a name for the environment develop
? Choose your default editor: Visual Studio Code
{ | |
"env": { | |
"node": true, | |
"es2020": true | |
}, | |
"extends": [ | |
"plugin:prettier/recommended", | |
"plugin:@typescript-eslint/eslint-recommended", | |
"plugin:@typescript-eslint/recommended", | |
"plugin:@typescript-eslint/recommended-requiring-type-checking", |
npx -y create-turbo@latest ./app-name pnpm -e with-tailwind | |
Developing an app to accompany our website, worried that we would lose people in the transition if they couldn't remember their password, we were looking to make our app do Password AutoFill, a feature in iOS.
A talk from WWDC introducing the feature: https://developer.apple.com/videos/play/wwdc2017/206/
It works well, but there were a few bumps in the road making it work for React Native on Expo, so here are some notes to help out.
Apple's docs are here: https://developer.apple.com/documentation/security/password_autofill and they say something like this:
// import ..... | |
const inputUploadFile: CSSProperties = { | |
display: 'none', | |
}; | |
const buttonUploadFile: CSSProperties = { | |
margin: 8, | |
}; |
{ | |
"env": { | |
"browser": true, | |
"es2021": true, | |
"node": true | |
}, | |
"extends": [ | |
"airbnb", | |
"airbnb/hooks", | |
"plugin:@typescript-eslint/recommended", |
Follow here:
https://gist.github.com/vdelacou/58484f1c11af70aaa457f4e5c289e893#file-readme-md
npm install -D tailwindcss@npm:@tailwindcss/postcss7-compat @tailwindcss/postcss7-compat postcss@^7 autoprefixer@^9
npm install @craco/craco
npm uninstall react-scripts