Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mayajs/templates
MayaJS Project Templates
https://github.com/mayajs/templates
Last synced: about 1 month ago
JSON representation
MayaJS Project Templates
- Host: GitHub
- URL: https://github.com/mayajs/templates
- Owner: mayajs
- Created: 2021-05-22T16:51:00.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-08-10T03:51:46.000Z (over 2 years ago)
- Last Synced: 2024-05-29T17:20:11.282Z (7 months ago)
- Language: TypeScript
- Size: 118 KB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MayaJS Project Templates
This repository contain all the templates that MayaJS can generate using `maya new` command using the CLI.
## Add a template
- Edit `templates.json` file with your template name and other details as shown below.
```js
{
"template-name": {
author: "your-name",
description: "template-description",
versions: [
{
version: "1.0.0",
cli: "0.5.0", // Specify your template cli version
url: "/"
}
// You can add more version
],
}
}
```- Create a PR with this format `ADD: `
- Wait for your PR to merge## Use template
In order to use a template you must first install [MayaJS CLI](https://github.com/mayajs/cli). After installing the latest CLI you create your project with the template `flag`.
```sh
maya new project-name --template=template-name
```> NOTE: You must provide a valid template name