Skip to content

v0.1.5 — Vue Entry Point & CSS Imports Order Fixes

Choose a tag to compare

@AndraZero121 AndraZero121 released this 01 Jul 11:59

rusters-cli v0.1.5

This release addresses multiple compiler and stylesheet generation bugs:

Fixes

  • Vue entry point bug: Added missing main.ts template file for Vue projects, and configured index.html to load the entry file dynamically (main.ts for Vue, main.tsx for React). This fixes the missing /src/main.tsx Vite resolve error when Vue is selected.
  • Tailwind imports order warning: Swapped ordering in styles.css template so @import url(...) precedes @import "tailwindcss". This fixes the [vite:css] @import must precede all other statements error.
  • Schema module compiler warning: Added a default blank schema.rs template to prevent unexpected compile-time errors/warnings before running cargo pull in a newly-ignited project.
  • Dead code / Unused imports warnings: Applied #[allow(dead_code)] and #[allow(unused_imports)] parameters where appropriate to ensure out-of-the-box compilations run completely warning-free.

Install

cargo install --git https://github.com/untrustnova/rusters-cli --tag v0.1.5