Go to file
2021-07-20 22:46:43 +08:00
.github Initial commit 2021-07-09 18:28:29 +08:00
.vscode Add admin dashboard 2021-07-14 08:59:53 +08:00
app Add homepage cover component 2021-07-20 22:46:43 +08:00
docs Add vue admin panel 2021-07-15 00:14:48 +08:00
public Add vite multiple entry config 2021-07-13 11:29:04 +08:00
scripts Add options framework 2021-07-20 11:57:41 +08:00
src Add homepage cover component 2021-07-20 22:46:43 +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 Bump filp/whoops from 2.13.0 to 2.14.0 (#120) 2021-07-15 00:15:08 +08:00
jest.config.js Initial commit 2021-07-09 18:28:29 +08:00
package.json Add homepage cover component 2021-07-20 22:46:43 +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 Update vite multiple input build configuration 2021-07-14 10:04:54 +08:00
yarn.lock Add homepage cover component 2021-07-20 22:46:43 +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