Go to file
2021-07-12 22:02:47 +08:00
.github Initial commit 2021-07-09 18:28:29 +08:00
.vscode Initial commit 2021-07-09 18:28:29 +08:00
app Add tags and categories page 2021-07-12 22:02:47 +08:00
docs Update readme 2021-07-10 19:47:40 +08:00
public Initial commit 2021-07-09 18:28:29 +08:00
scripts Initial commit 2021-07-09 18:28:29 +08:00
src Add tags and categories page 2021-07-12 22:02:47 +08:00
.browserslistrc Initial commit 2021-07-09 18:28:29 +08:00
.editorconfig Initial commit 2021-07-09 18:28:29 +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 Initial commit 2021-07-09 18:28:29 +08:00
.npmrc Initial commit 2021-07-09 18:28:29 +08:00
.postcssrc.js Initial commit 2021-07-09 18:28:29 +08:00
.prettierrc.js Initial commit 2021-07-09 18:28:29 +08:00
composer.json Initial commit 2021-07-09 18:28:29 +08:00
composer.lock Initial commit 2021-07-09 18:28:29 +08:00
index.html Initial commit 2021-07-09 18:28:29 +08:00
jest.config.js Initial commit 2021-07-09 18:28:29 +08:00
package.json Initial commit 2021-07-09 18:28:29 +08:00
README.md Update readme 2021-07-10 19:47:40 +08:00
tsconfig.json Initial commit 2021-07-09 18:28:29 +08:00
vite.config.ts Initial commit 2021-07-09 18:28:29 +08:00
yarn.lock Initial commit 2021-07-09 18:28:29 +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 gen:icon # generate svg icon component
yarn remote-download:geoip2 # download GeoIP db on remote server
yarn local-download:geoip2 # download GeoIP db locally