Integrating maizzle in an existing project #1243
Replies: 5 comments 1 reply
-
For now if you want to use Are you using a specific framework or project structure? We should try to have guides around popular ones. |
Beta Was this translation helpful? Give feedback.
-
I do have a specific folder struture. I tried doing the installing but it couldn't because of the overwriting stuff. I might have to do a microservice or something |
Beta Was this translation helpful? Give feedback.
-
Have a look at using the API: https://maizzle.com/docs/api |
Beta Was this translation helpful? Give feedback.
-
I've found a work around it. I use maizzle to write the code and compile it using the dev or build command then I use the mustache library to compile the html |
Beta Was this translation helpful? Give feedback.
-
Hi everyone, I just wanted to follow up, because I came here with the same question and wanted to confirm a few things. Regarding the integration of Maizzle alongside an existing project, it seems like there are two diverging paths:
So for use case 1, the suggestion is to use the api. Then for use case 2, the recommendation is to use the Maizzle tooling to generate the project scaffolding, and then to manually copy everything over to your existing project's directory structure, correct? Here's an example directory structure:
And then from there to integrate the Maizzle dev/build pipelines into your project's existing npm scripts, makefiles, or whatever else one's situation calls for. Did I understand that right? Thanks for reading. |
Beta Was this translation helpful? Give feedback.
-
I'm working on an existing project. I came across maizzle two days ago. I want to integrate it into my app but when I run npx create-maizzle, I get this error
destination directory is not empty, aborting. Use options.force to override
at Degit._checkDirIsEmpty (/Users/Name/.npm/_npx/dfe834339ec2696c/node_modules/degit/dist/index-688c5d50.js:14171:12)
at Degit.clone (/Users/Name/.npm/_npx/dfe834339ec2696c/node_modules/degit/dist/index-688c5d50.js:14089:8)
at main (file:///Users/Name/.npm/_npx/dfe834339ec2696c/node_modules/create-maizzle/src/index.js:109:17)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
code: 'DEST_NOT_EMPTY'
}. I want to put maizzle in my root directory and not it'a own directory. How do I do that?
Beta Was this translation helpful? Give feedback.
All reactions