打包好的livecode,版本v-46
This commit is contained in:
49
docs/features/templates.html.md
Normal file
49
docs/features/templates.html.md
Normal file
@@ -0,0 +1,49 @@
|
||||
# Templates
|
||||
|
||||
import TemplateList from '../../src/components/TemplateList';
|
||||
|
||||
A new project can be based on any of the provided [starter templates](#starter-templates) or [user templates](#user-templates).
|
||||
|
||||
A new project (from template) can be started from:
|
||||
|
||||
- Project menu → New
|
||||
- [Welcome Screen](./welcome.html.md) → New
|
||||
- Direct URL: https://livecodes.io?new
|
||||
|
||||
## Starter Templates
|
||||
|
||||
A Large number of starter templates are available. They act as starting points and example usage for the [languages](../languages/index.html.md) available in LiveCodes.
|
||||
|
||||
A direct link for a starter template has the following format:
|
||||
|
||||
`?template={template_name}` (e.g. https://livecodes.io/?template=react)
|
||||
|
||||
The list of template names are documented [here](../api/internal/type-aliases/TemplateName.md).
|
||||
|
||||
### Template List
|
||||
|
||||
The following list of starter templates are available:
|
||||
|
||||
<TemplateList />
|
||||
|
||||
## User Templates
|
||||
|
||||
Any project loaded in LiveCodes can be saved as a user template, to be used later as a starting point for new projects.
|
||||
|
||||
A project can be saved as a user template from Project menu → Save as → Template.
|
||||
|
||||
It can then be accessed from Project menu → New ... → My Templates.
|
||||
|
||||
A user template can be set as [default template](./default-template-language.html.md) to be automatically loaded when loading the app.
|
||||
|
||||
User templates are scoped to the currently [logged-in user](./user-management.html.md). They can be [backed up/restored](./backup-restore.html.md) and [synced](./sync.html.md) the same as other user data.
|
||||
|
||||
## Related
|
||||
|
||||
- [Default Template/Language](./default-template-language.html.md)
|
||||
- [Project](./projects.html.md)
|
||||
- [Code Snippets](./snippets.html.md)
|
||||
- [User management](./user-management.html.md)
|
||||
- [Backup/Restore](./backup-restore.html.md)
|
||||
- [Sync](./sync.html.md)
|
||||
- [Languages](../languages/index.html.md)
|
||||
Reference in New Issue
Block a user