Generate a plurid' application with one command (and some choices).
Run the command
npx @plurid/generate-plurid-app
or
yarn global add @plurid/generate-plurid-app
generate-plurid-app
The command can be run as is and will get you through an interactive setup, or can receive the following flags:
-d, --directory <path> set the application directory (default: "plurid-app")
-l, --language <language> set language ("typescript" -> TypeScript || "javascript" -> JavaScript) (default: "typescript")
-u, --ui <ui-engine> set UI engine ("html" -> HTML Custom Elements || "react" -> React || "vue" -> Vue || "angular" -> Angular) (default:
"react")
-r, --renderer <renderer> set the application rendering side ("client" -> Client-Side Rendering || "server" -> Server-Side Rendering) (default:
"server")
-m, --manager <package-manager> set the package manager ("npm" || "yarn") (default: "yarn")
-s, --services <service-list> pass additional services as a comma-separated list (graphql, redux, stripe) (default: "graphql,redux,stripe")
-c, --containerize use Docker to containerize the application (default: false)
-p, --pluridapp deploy the application to plurid.app (default: true)