Kian-ting Tan 6335a205c8 Translated using Weblate (Chinese (Min Nan) (nan_TW)) | hace 2 meses | |
---|---|---|
.gitlab | hace 2 años | |
build | hace 1 año | |
changelog.d | hace 2 meses | |
config | hace 2 años | |
docs | hace 1 año | |
src | hace 2 meses | |
static | hace 2 años | |
test | hace 2 meses | |
tools | hace 9 meses | |
.babelrc | hace 2 años | |
.browserslistrc | hace 2 meses | |
.editorconfig | hace 8 años | |
.eslintignore | hace 8 años | |
.eslintrc.js | hace 2 años | |
.gitattributes | hace 1 año | |
.gitignore | hace 1 año | |
.gitlab-ci.yml | hace 2 meses | |
.mailmap | hace 3 años | |
.node-version | hace 2 años | |
.stylelintrc.json | hace 1 año | |
BREAKING_CHANGES.md | hace 5 años | |
CHANGELOG.md | hace 2 meses | |
COFE_OF_CONDUCT.md | hace 7 años | |
CONTRIBUTORS.md | hace 1 año | |
LICENSE | hace 8 años | |
README.md | hace 1 año | |
image-1.png | hace 1 año | |
image.png | hace 1 año | |
index.html | hace 6 meses | |
package.json | hace 2 meses | |
postcss.config.js | hace 5 años | |
preview.style.js | hace 4 meses | |
renovate.json | hace 2 años | |
yarn.lock | hace 2 meses |
Highly-customizable frontend designed for Pleroma.
To translate Pleroma-FE, use our weblate server: https://translate.pleroma.social/. If you need to add your language it should be added as a json file in src/i18n/ folder and added in a list within src/i18n/languages.js.
Pleroma-FE will set your language by your browser locale, but you can change language in settings.
You don't need to build Pleroma-FE yourself. Those using the Pleroma backend will be able to use it out of the box. Information of customizing PleromaFE settings/defaults is in our guide and in case you want to build your own custom version there's another
# install dependencies
npm install -g yarn
yarn
# serve with hot reload at localhost:8080
yarn dev
# build for production with minification
yarn build
# run unit tests
yarn unit
You can create file /config/local.json
(see example) to enable some convenience dev options:
target
: makes local dev server redirect to some existing instance's BE instead of local BE, useful for testing things in near-production environment and searching for real-life use-cases.staticConfigPreference
: makes FE's /static/config.json
take preference of BE-served /api/statusnet/config.json
. Only works in dev mode.FE Build process also leaves current commit hash in global variable ___pleromafe_commit_hash
so that you can easily see which pleroma-fe commit instance is running, also helps pinpointing which commit was used when FE was bundled into BE.
Set configuration settings in AdminFE, additionally you can edit config.json. For more details see documentation.