Closed slyshykO closed 1 year ago
I just verified it, it for some reason picks up the feliz template I'll give it a look, thanks for reporting
There was a miss-configuration in the templates repository, please update your local templates and you should be able to create a fable-lit template
Example:
┌─zsh ~> ::
│ ~/repos
└~> perla templates AngelMunoz/perla-templates --update
Perla: Template AngelMunoz/perla-templates:main already exists.
┌────────────────┬──────────────┬─────────────────────────────┬─────────────────────────────────┐
│ Name │ perla new -t │ perla new -id │ Repository name │
├────────────────┼──────────────┼─────────────────────────────┼─────────────────────────────────┤
│ Basic Template │ basic │ perla.templates.basic │ AngelMunoz/perla-templates:main │
│ Fable Feliz │ feliz │ perla.templates.fable.feliz │ AngelMunoz/perla-templates:main │
│ Fable Lit │ flit │ perla.templates.fable.lit │ AngelMunoz/perla-templates:main │
│ Fable Vide │ fvide │ perla.templates.fable.vide │ AngelMunoz/perla-templates:main │
│ Fable Sutil │ fsutil │ perla.templates.fable.sutil │ AngelMunoz/perla-templates:main │
│ Lit Javascript │ litjs │ perla.templates.lit.js │ AngelMunoz/perla-templates:main │
│ Preact JSX │ prejsx │ perla.templates.preact.jsx │ AngelMunoz/perla-templates:main │
│ Preact TSX │ pretsx │ perla.templates.preact.tsx │ AngelMunoz/perla-templates:main │
│ React Jsx │ react │ perla.templates.react.jsx │ AngelMunoz/perla-templates:main │
│ React TSX │ reacts │ perla.templates.react.tsx │ AngelMunoz/perla-templates:main │
│ Solid JS │ solid │ perla.templates.solid.js │ AngelMunoz/perla-templates:main │
│ VUE JSX │ vuejsx │ perla.templates.vue.jsx │ AngelMunoz/perla-templates:main │
└────────────────┴──────────────┴─────────────────────────────┴─────────────────────────────────┘
Perla: perla new <PROJECT_NAME>
Perla: Feel free to create a new perla project
┌─zsh ~> ::
│ ~/repos
└~> perla new samplix4 -t flit
Perla: Creating new project...
Copy Files ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100%
Perla: Project samplix4 created!, to get started run:
cd ./samplix4
perla serve
┌─zsh ~> ::
│ ~/repos
└~> cat samplix4/perla.json
{
"$schema": "https://raw.githubusercontent.com/AngelMunoz/Perla/v1.0.0-beta-024/perla.schema.json",
"index": "./index.html",
"provider": "jspm",
"runConfiguration": "production",
"fable": {
"project": "./src/App.fsproj"
},
"dependencies": [
{
"name": "lit",
"version": "2.5.0"
},
{
"name": "lit-html",
"version": "2.5.0"
}
]
}%
Please feel free to re-open if something is still not working properly.
Thank you for trying out Perla!
Now it's work. Thank you.
Describe the bug command "perla new" generates the wrong project.
To Reproduce Steps to reproduce the behaviour:
perla new hw-fable-lit -t flit
Expected behaviour generated project based on Lit
Desktop (please complete the following information):