Skip to content

Commit

Permalink
Moved Vite to root namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
mergehez committed Oct 13, 2024
1 parent c9fb9f6 commit 125b0eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 2 additions & 1 deletion InertiaNetCore/Utils/Vite.cs → InertiaNetCore/Vite.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@
using System.Text.Json;
using System.Text.RegularExpressions;
using InertiaNetCore.Models;
using InertiaNetCore.Utils;
using Microsoft.AspNetCore.Html;
using Microsoft.AspNetCore.Mvc.Rendering;
using Microsoft.Extensions.Options;

namespace InertiaNetCore.Utils;
namespace InertiaNetCore;

internal class ViteBuilder(IOptions<ViteOptions> options) : IViteBuilder
{
Expand Down
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ Create a file `/Views/App.cshtml`.

```html
@using InertiaNetCore
@using InertiaNetCore.Utils

<!DOCTYPE html>
<html lang="en">
Expand Down Expand Up @@ -288,7 +287,6 @@ If you want to enable SSR in your Inertia app, remember to add `Inertia.Head()`

```diff
@using InertiaNetCore
@using InertiaNetCore.Utils

<!DOCTYPE html>
<html lang="en">
Expand Down Expand Up @@ -350,7 +348,6 @@ Here's an example for a TypeScript Vue app with Hot Reload:

```html
@using InertiaNetCore
@using InertiaNetCore.Utils

<!DOCTYPE html>
<html lang="en">
Expand Down

0 comments on commit 125b0eb

Please sign in to comment.