Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A Blazor Static SSR sample site with CLI setup for Tailwind CSS and Webpack for Hotwire with Turbo and Stimulus

NotificationsYou must be signed in to change notification settings

krompaco/hotwired-aspnet

Repository files navigation

A Razor Pages sample site with CLI setup for Tailwind CSS and Webpack for Hotwire with Turbo and Stimulus.

The demo web site is built using an Action in this repo.

It's the basic GitHub Action to Azure App Service example plus these steps first for building the frontend files.

- name: Setup npm  uses: actions/setup-node@v2  with:    node-version: 18.12.0- run: npm ci- run: npm run prodbuild

Getting started

Be in repository root and do:

npm cinpm run dev

Or if you don't need any JS watched and built while working this will work faster:

npm run prodbuildnpm run dev:css

To build without watcher:

npm run prodbuild

I recommend doingnpm run dev:css and then going tosrc/WebApp/ and starting dotnet project by using:

dotnet watch run

Material used:

This article is where the SignalR setup comes from:https://medium.com/@kpax/hotwired-asp-net-core-web-application-part-4-5ff84da54452

About Turbo Streams over Web Socket: I recommend using the SignalR way frommain but in the brancharchived/barebone-websocket there's a barebone Web Socket Proof-of-Concept as well.

An alternative dotnet project:https://www.nuget.org/packages/HotwireTurbo/

Roadmap

  • Maybe make NuGet package ofKrompaco.AspNetCore.Hotwired.
  • XUnit tests forKrompaco.AspNetCore.Hotwired.
  • Make default styling to look like an Optimizely CMS admin page.

About

A Blazor Static SSR sample site with CLI setup for Tailwind CSS and Webpack for Hotwire with Turbo and Stimulus

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp