0.1.0-next.0 • Published 3 years ago
create-vike-app v0.1.0-next.0
Vike Project Generator
Generates Vike application boilerplate
Usage
create-vike-app [options] <output-dir>
Arguments:
output-dir Output directory
Options:
-V, --version output the version number
-f, --framework <framework> Frontend framework (choices: "react", "vue")
-l, --language <language> Programming language (choices: "js", "ts")
-h, --help display help for command
How it works
- Copies files from
input-files/common
,input-files/react
, andinput-files/vue
renaming and transforming them as necessary. - Generates plain JS files from the TS files via
detype
. - Configuration files (
package.json
,tsconfig.json
, andvite.config.{js,ts}
) are generated programmatically. - Boilerplate package versions are kept in
src/config-generators/package-versions.json
.
Roadmap
- Create an interactive frontend
- Apply TS > JS transform in build-time to speed up generation
- Resolve user's default prettier config if any and use it instead of the default