Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cyco130/create-vike
Generates Vike application boilerplate
https://github.com/cyco130/create-vike
Last synced: 3 months ago
JSON representation
Generates Vike application boilerplate
- Host: GitHub
- URL: https://github.com/cyco130/create-vike
- Owner: cyco130
- Created: 2021-10-10T11:22:05.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-31T12:28:33.000Z (over 2 years ago)
- Last Synced: 2024-05-08T00:15:22.128Z (8 months ago)
- Language: TypeScript
- Size: 141 KB
- Stars: 9
- Watchers: 6
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vike Project Generator
Generates Vike application boilerplate
## Usage
```
create-vike [options]Arguments:
output-dir Output directoryOptions:
-V, --version output the version number
-f, --framework Frontend framework (choices: "react", "vue")
-l, --language Programming language (choices: "js", "ts")
-h, --help display help for command
```## How it works
- Generates TypeScript and JavaScript files from the templates in `input-files` via `detype`.
- Copies files from `files//` where:
- `` is `shared`, `ts`, or `js`
- `` is any combination of `vike` (default), `react`, `vue`, and `client-router` combined with a plus sign
- Configuration files (`package.json`, `tsconfig.json`, and `vite.config.{js,ts}`) are generated programmatically.
- Boilerplate package versions are kept in `src/config-generators/package-versions.json`, `check-deps.mjs` can be used to review package updates.## TODO
- Add integration tests
- Create an interactive frontend
- Resolve user's default prettier config if any and use it instead of the default