Leaa is a monorepo restful CMS / Admin built with Nest.js (@nestjsx/crud, node.js) and Ant Design.
BSD-3-CLAUSE License
Leaa is a monorepo CMS (Content Management System) built with Nest.js, Next.js, and Ant Design.
View the README.md
of each sub-directory in packages
. You may need to look at yarn workspaces first.
5
React
JSX
App GraphQL
api``dashboard``www
miniprogram ( mp)
app
web
HTML
web
fuckingSelf
a
mp
app
a
a
web
App
RN
monorepo
TS
RN
RN
+ monorepo
+ TS
monorepo
5 TS interface
mp
app
mp
app
monorepo
web
reponode_modules
yarn install
CPU yarn workspaces
mono
lerna
lerna
monorepo
mono
multi
5 mp
> app
> www
> api
> dashboard
mp
mp
devtools bug bug devtools Taro
custom-tab-bar
Taro
custom-tab-bar
leaa
Github
www
(Next.js
v9) Next.js
example
SSR Next.js
8to9zeit
monorepo
Components/Filter/index.tsx
Components/Filter/Filter.tsx
cmd
+p
Anywhere Docker
Api
UI/UX
leaa
leaa
bug Github leaa
leaa
2019-09-17 17:01 @ Guangxi Hezhou
git commit DEV LOG 1d1h Blog -> CMS -> Sohp API / Dashboard / Website / Wechat Weapp / React Native (iOS / Android) monorepo interface / entry
share
Dashboard Dashboard
Blog Dashboard graphql restful
Nest.js Typescript @kamilmysliwiec Nest.js
dashboard
React + Antd hooks
Apollo hooks beta Class hooks Class 10 hooks 5 Fn Class share Class Fn
www
Next.js React-SSR @Guillermo Next.js www Next.js v9 core TS
AntdClient pages less cssModuleAntd Server less withLess 60% 40% Next.jsCRA webpack
CRA expo Next.js 100% withPlugin Github v9 fuckingself webpack Next.js webpack withPlugin context resolve issue close issue Next.js + antd withLess
leaa OSS
Local OSS OSS API OSS Callback DB API API put OSS OSS
www api dashboard miniprogram
package React 16.9.0console Warning: componentWillMount...
React CHANGELOG lifecycle
leaa-dashboard antd
antd
warning React "react": "16.8.6", "react-dom": "16.8.6"
Leaa Stack Banner README Leaa
La Seydoux Lea a LEAA
Google Law Enforcement Assistance Administration
lint error packages/leaa-dashboard/src/pages/Permission/PermissionList/PermissionList.tsx
L159 .prettierrc
printWidth
.eslintrc.js
max-len
120
prettier eslint 120
eslint-disable-next-line max-len
>
>=
max-len
style code IDE keymap marco prettier
eslint
format public contributors hhh git commit
code style
husky
monorepo git commit
packages eslint
lint-staged
eslint git stage eslint
monorepo non-monorepo pacakge.json
module.exports = {
'packages/**/*.ts?(x)': ['prettier --write', 'eslint', 'git add'],
'packages/**/*.(css|less)': ['prettier --write', 'stylelint', 'git add'],
};
Taro
React
to `` ONLY
ONLY
Taro
`` ```` RN
`yoga` CSS
Web HRM css module webpack
run RN
taro-ui
UI lib @tarojs/component
taro-ui
RN
run debug tools monorepo
monorepo
monorepo
monorepo
run
can't find module : ../../../node_modules/@tarojs/taro-weapp/
issues monorepo yarn wokespaces nohoist Taro
sub-package share modules
{
"nohoist": ["**/@tarojs/**"]
}
package.json
dev:rn
run docs RN Taro
RN
0.55.4
, 0.60.x
RN
0.60.x
Android HermesRN@Taro
@tarojs/component
UI lib NativeBase
Shoutem
RN
UI lib
`` RN@Taro
`taro-ui` `RN`
Taro
ONLY for OKleaa-app
RN
expo
Taro
@apollo/react-hooks
react-apollo
Apollo useQuery
<Query>
hooks Invariant Violation: Invalid hook call.
export apolloClient
apolloClient.query()
H5
debugapolloClient
`` error fetch is not found globally and no fetcher passed, to fix pass....
fetch lib wx-apollo-fetcher
return new Promise(resolve =>
wx.request({
...
complete: ({ data, statusCode, errMsg }) => resolve({...})
}))
HttpLink
fetch: wxApolloFetcher
alias
issues `` H5
`monorepo` share `@leaa/common`RN