Skip to content

Commit

Permalink
Update README and VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
rickbutterfield committed Jan 24, 2025
1 parent 9e32512 commit 4970e43
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,19 @@ The Umbraco 10.4+ version of this package is [available via NuGet](https://www.n
To install the package, you can use either .NET CLI:

```
dotnet add package Umbraco.Community.BlockPreview --version 1.11.0
dotnet add package Umbraco.Community.BlockPreview --version 1.12.0
```

or the older NuGet Package Manager:

```
Install-Package Umbraco.Community.BlockPreview -Version 1.11.0
Install-Package Umbraco.Community.BlockPreview -Version 1.12.0
```

### Setup
`Umbraco:Cms:ModelsBuilder:ModelsBuilderMode` **must** be set to either `SourceCodeAuto` or `SourceCodeManual` for BlockPreview to work.
Generated strongly typed models must exist on disk for BlockPreview to work. `Umbraco:Cms:ModelsBuilder:ModelsMode` **must** be set to either `SourceCodeAuto` or `SourceCodeManual` in your development environment and generated files committed to disk before deploying.

If you are using [Limbo.Umbraco.ModelsBuilder](https://github.com/limbo-works/Limbo.Umbraco.ModelsBuilder), the default configuration is to have `ModelsMode` set to nothing. Once this is set, generate models in the backoffice as normal.
```json
"Umbraco": {
"CMS": {
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.0
1.12.0

0 comments on commit 4970e43

Please sign in to comment.