Go to file
2021-08-08 17:25:36 +08:00
.github Initial commit 2021-07-09 18:28:29 +08:00
.vscode Add mobile compatibility 2021-08-08 00:04:05 +08:00
app Add header profile drawer 2021-08-08 17:25:36 +08:00
docs Add mobile support (Header, Drawer, ThumbList) 2021-07-27 18:26:28 +08:00
public Add vite multiple entry config 2021-07-13 11:29:04 +08:00
scripts Add release script 2021-08-08 11:57:48 +08:00
src Add header profile drawer 2021-08-08 17:25:36 +08:00
.browserslistrc Initial commit 2021-07-09 18:28:29 +08:00
.editorconfig Initial commit 2021-07-09 18:28:29 +08:00
.eslintignore Fix i18n 2021-08-01 10:14:43 +08:00
.eslintrc.js Initial commit 2021-07-09 18:28:29 +08:00
.gitattributes Initial commit 2021-07-09 18:28:29 +08:00
.gitignore Add release script 2021-08-08 11:57:48 +08:00
.npmrc Initial commit 2021-07-09 18:28:29 +08:00
.postcssrc.js Add flex box gap polyfill 2021-07-29 10:11:32 +08:00
.prettierignore Fix i18n 2021-08-01 10:14:43 +08:00
.prettierrc.js Initial commit 2021-07-09 18:28:29 +08:00
.stylelintignore Add flex box gap polyfill 2021-07-29 10:11:32 +08:00
.stylelintrc.json Add flex box gap polyfill 2021-07-29 10:11:32 +08:00
composer.json Initial commit 2021-07-09 18:28:29 +08:00
composer.lock Bump ritaswc/zx-ip-address from 2.0.59 to 2.0.62 (#147) 2021-08-01 15:03:46 +08:00
jest.config.js Initial commit 2021-07-09 18:28:29 +08:00
package.json Add mobile compatibility 2021-08-08 00:04:05 +08:00
README.md Add homepage cover component 2021-07-20 22:46:43 +08:00
tsconfig.json Initial commit 2021-07-09 18:28:29 +08:00
vite.config.ts Add flex box gap polyfill 2021-07-29 10:11:32 +08:00
yarn.lock Add mobile compatibility 2021-08-08 00:04:05 +08:00

sakura-next

Requirement

  • PHP=7.4
  • WordPress>=5.6.0
  • Node.js>=14.17.1
  • yarn>=1.22.10

Commands

composer install # install php dependencies
yarn install # install node dependencies
yarn dev # run dev server
yarn build # build assets
yarn test # Jest test
yarn lint # eslint
yarn format # auto format
yarn i18n # export i18n variables
yarn rsync # sync backend app with server, see docs/dev.md
yarn composer # run `composer install` on remote server
yarn icon # generate svg icon component
yarn remote-download:geoip2 # download GeoIP db on remote server
yarn local-download:geoip2 # download GeoIP db locally
yarn options # export node side admin options.ts to php side options.json