@cagovweb/state-template 6.3.0-beta.2 → 6.3.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/readme.md CHANGED
@@ -1,4 +1,4 @@
1
1
 
2
- - State Template Source Version 6.3.0-beta.2
2
+ - State Template Source Version 6.3.0-beta.3
3
3
  - You may use the CDN location instead of this folder
4
- - https://california.azureedge.net/cdt/statetemplate/6.3.0-beta.2/
4
+ - https://california.azureedge.net/cdt/statetemplate/6.3.0-beta.3/
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cagovweb/state-template",
3
- "version": "6.3.0-beta.2",
3
+ "version": "6.3.0-beta.3",
4
4
  "description": "California State Web Template NPM Package",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -31,6 +31,33 @@ import "@cagovweb/state-template/dist/css/colortheme-oceanside.css";
31
31
  import "@cagovweb/state-template/dist/js/cagov.core.js";
32
32
  ```
33
33
 
34
+ ### .Net Core (Visual Studio)
35
+
36
+ You can use [Library Manager (LibMan)](https://learn.microsoft.com/en-us/aspnet/core/client-side/libman/libman-vs?view=aspnetcore-7.0) to automatically sync the client JS/CSS with your Visual Studio projects.
37
+
38
+ #### Create `libman.json` in your project root folder
39
+
40
+ ```json
41
+ {
42
+ "version": "1.0",
43
+ "libraries": [
44
+ {
45
+ "provider": "jsdelivr",
46
+ "library": "@cagovweb/state-template@latest",
47
+ "destination": "wwwroot/lib/state-template/"
48
+ }
49
+ ]
50
+ }
51
+ ```
52
+
53
+ #### In your layout files you can reference the files in the `lib` folder
54
+
55
+ ```html
56
+ <link href="~/lib/state-template/dist/css/cagov.core.min.css" rel="stylesheet">
57
+ <link href="~/lib/state-template/dist/css/colortheme-oceanside.min.css" rel="stylesheet">
58
+ <script src="~/lib/state-template/dist/js/cagov.core.min.js"></script>
59
+ ```
60
+
34
61
  ### Eleventy
35
62
 
36
63
  **`.eleventy.js`** [(see reference)](https://www.11ty.dev/docs/copy/)