![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
@plone/generator-volto
Advanced tools
Yeoman Volto App Generator: scaffolding for Volto projects
@plone/generator-volto is a Yeoman generator that helps you to set up Volto via command line.
First, install Yeoman and @plone/generator-volto using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g @plone/generator-volto
npm init
npm init yo @plone/volto
This is the shortcut for using npm init
command. It uses Yeoman (yo
) and @plone/generator-volto
and execute them without having to be installed globally.
Answer the prompt questions to complete the generation process.
yo @plone/volto
This will bootstrap a new Volto project inside the current folder. It will ask a few questions: project name, project description and a list of addons. Run:
$ yo @plone/volto --help
Usage:
yo @plone/volto:app [<projectName>] [options]
Options:
-h, --help # Print the generator's options and usage
--skip-cache # Do not remember prompt answers Default: false
--skip-install # Do not automatically install dependencies Default: false
--force-install # Fail on install dependencies error Default: false
--ask-answered # Show prompts for already configured options Default: false
--volto # Desired Volto version, if not provided, the most recent will be used
--canary # Desired Volto version should be a canary (alpha) Default: true
--interactive # Enable/disable interactive prompt Default: true
--skip-addons # Don't ask for addons as part of the scaffolding
--addon # Addon loader string, like: some-volto-addon:loadExtra,loadOtherExtra
--workspace # Yarn workspace, like: src/addons/some-volto-addon
--description # Project description
Arguments:
projectName Type: String Required: false
to see a full list of options and arguments.
You can provide an specific Volto version like:
yo @plone/volto --volto=12.0.0-alpha.0
You can also pass a Volto branch or tag:
yo @plone/volto --volto=plone/volto#16.3.0
You can force to use the latest canary (alpha) Volto version like:
yo @plone/volto --canary
You can use it in full non-interactive mode by passing something like:
yo @plone/volto myvoltoproject --no-interactive
Or by skipping specific configuration:
yo @plone/volto myvoltoproject --description "My Volto project" --skip-addons --skip-install --skip-workspaces
You can also specify addons to load, like:
yo @plone/volto myvoltoproject --description "My Volto project" --addon "volto-formbuilder:x,y" --addon "volto-slate:z,t"
Change the directory to your project to get started:
cd myvoltoproject
yarn
Usage:
yo @plone/volto:addon [<addonName>] [options]
Options:
-h, --help # Print the generator's options and usage
--skip-cache # Do not remember prompt answers Default: false
--skip-install # Do not automatically install dependencies Default: false
--force-install # Fail on install dependencies error Default: false
--ask-answered # Show prompts for already configured options Default: false
--interactive # Enable/disable interactive prompt Default: true
--template # Use github repo template, e.g.: eea/volto-addon-template
Arguments:
addonName # Addon name, e.g.: @plone-collective/volto-custom-block Type: String Required: false
yarn start
Start Volto with:
yarn start
This runs the project in development mode. You can view your application at http://localhost:3000
The page will reload if you make edits.
Please note that you have to run a Plone backend as well.
E.g. with docker:
docker run -it --rm --name=plone -p 8080:8080 -e SITE=Plone -e ADDONS="plone.volto" -e ZCML="plone.volto.cors" -e PROFILES="plone.volto:default-homepage" plone
Consult the Volto docs for further details:
https://www.npmjs.com/package/@plone/volto
yarn build
Builds the app for production to the build folder.
The build is minified and the filenames include the hashes. Your app is ready to be deployed!
yarn start:prod
Runs the compiled app in production.
You can again view your application at http://localhost:3000
yarn test
Runs the test watcher (Jest) in an interactive mode. By default, runs tests related to files changed since the last commit.
yarn i18n
Runs the test i18n runner which extracts all the translation strings and generates the needed files.
FAQs
Yeoman Volto App Generator: scaffolding for Volto projects
The npm package @plone/generator-volto receives a total of 75 weekly downloads. As such, @plone/generator-volto popularity was classified as not popular.
We found that @plone/generator-volto demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.