Regarding the release of the OrchardCore.Cms.Web project #15841
Replies: 6 comments
-
When you say "front-end code files" what do you mean ? Do you mean the liquid templates ? Or the javascript / css files ? |
Beta Was this translation helpful? Give feedback.
-
the liquid templates and javascript / css files |
Beta Was this translation helpful? Give feedback.
-
For the liquid templates, you could potentially use the For the CSS/JS files, you could allow these types of files in the media library and allow your designers to upload them there (probably a security risk). You could also write your own IModuleStaticFileProvider |
Beta Was this translation helpful? Give feedback.
-
@fuxiaojun0203 I am using VSCode for development without any issue. Once the project published all your files embedded in published .net assembly, so you won’t be able to change after publish. I think the best approach to use with CI/CD If you would like to change views after publish you need to use Template module as suggested by @jptissot |
Beta Was this translation helpful? Give feedback.
-
@ns8482e After the project is released, can't I keep the view files and JavaScript / css files in the theme? Instead of only TheMenksoftTheme.dll file And also,What does CI / CD mean? |
Beta Was this translation helpful? Give feedback.
-
CI / CD is continuous integration and delivery. It usually means that any code changes will trigger a build and push the updated dll to your site. This is a better avenue because you get the benefits of using Git to track the history of the templates and static assets. |
Beta Was this translation helpful? Give feedback.
-
After publishing the OrchardCore.Cms.Web project, I want to keep the front-end code files, such as the directories in the theme file, so that front-end engineers can use the editor such as vscode to modify the web page, instead of Vs2019, how do I set up?
Or, after the release, there are only .dll files and this cannot be changed.
Beta Was this translation helpful? Give feedback.
All reactions