GithubHelp home page GithubHelp logo

smir-ant / wasm_ghpages Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 221 KB

wasm(leptos) + tailwind на github pages + action

Home Page: https://smir-ant.github.io/wasm_ghpages/

HTML 7.76% CSS 3.79% Rust 84.47% JavaScript 3.98%
gh-actions gh-pages github-actions github-pages leptos rust tailwind wasm without-nodejs

wasm_ghpages's Introduction

Стек

Начать работу в двух шагах:

  1. Скачиваем
  2. trunk serve --open в терминал

Action

Уже прописан на автоматическую работу. Суть: прилетело обновление репозитория? будет запущена сборка, от установки rust до перебрасывание получаемых статических файлов(html, js, wasm, css, favicon) в ветку gh-pages.

Tailwind

Встроен в leptos, ничего не нужно устанавливать дополнительно, само собирается. Главное наличие rel="tailwind-css".

Если хочется отключить tailwind, то убираем подключение (rel="tailwind-css") в html; убираем классы у body в html; удаляем tailwind.css.

Если важен флаг --minify, то загляни в Trunk.toml.

К сожалению, общее время от пуша обновления до обновленной страницы ~6 минут.
Trunk долго компилится и проект собирается также... Пока не вдуплил как ускорить.


Буду рад issues и звёздам

wasm_ghpages's People

Contributors

smir-ant avatar

Watchers

 avatar

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.