Coder Social home page Coder Social logo

krompaco / hotwired-aspnet Goto Github PK

View Code? Open in Web Editor NEW
30.0 30.0 1.0 1.47 MB

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

C# 28.95% HTML 60.66% JavaScript 7.87% CSS 2.52%
aspnetcore hotwire hotwire-stimulus hotwire-turbo hotwired razor-pages tailwind-css

hotwired-aspnet's Introduction

hotwired-aspnet's People

Contributors

krompaco avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

bytedecoder

hotwired-aspnet's Issues

Progressive Enhancement

One of the benefits for Hotwire is progressive enhancement: https://www.google.com/search?q=hotwire+progressive+enhancement

The player list page does not work with javascript disabled.

When you create a new Player or edit a Player with javascript disabled, the page works as expected. And when you submit the form, the data is sent to the server but the response is a partial view and the page breaks.

Reproduce:

  1. disable javascript
  2. navigate to https://hotwired.azurewebsites.net/PlayerList
  3. add a player
  4. submit the form

Publish package to NuGet

It would be awesome to have this on NuGet.

Based on https://github.com/hotwired/turbo-rails I suggest to name it Turbo.AspnetCore. hotwired is both turbo and stimulus.js. AspNet suggests that it also works on .NET 4.7.x/

I think minimal steps are:

  • add NuSpec
  • add some build script (where?)
  • setup CI on github

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.