Closed jojojojojoj5564656465465 closed 1 year ago
The preset was released on NPM today! 🎉 You can now follow the regular installation instructions.
Thank you for your interest in my preset! It is not done yet and therefore not published on NPM that's why it is giving you the 404 error.
You can still install it in other ways if you want to test it out. I recommend adding it as a git submodule. Here is how you can do it
npm remove unocss-preset-windblade
git submodule add https://github.com/StarLederer/windblade.git
or git submodule add https://github.com/StarLederer/windblade.git ./CUSTOM/PATH/TO/windblade
From here you can either build the preset and reference it as a package or add use it buildless.
if you want to use buildless:
pnpm add -D typescript ts-extras
import windblade from './PATH/TO/windblade/unocss/src'
cd './PATH/TO/windblade'
and git pull
If you want to build:
cd './PATH/TO/windblade'
cd unocss
pnpm i
pnpm run build
import windblade from './PATH/TO/windblade/unocss'
cd './PATH/TO/windblade'
, git pull
and execute steps 2 - 5I am planning to publish this on NPM this month but would really appreciate you helping me test this preset before that. Please try it out using the steps above and feel free to open new issues if you find bugs or missing features.
Please note that after v2.0.0-alpha there is an additional dependencies that you also need to install into your project if you are using Windblade buildless. At this point it is hard to recommend this method
Would you be abble to add this to Windblade ;
Please open new issues for new feature requests. I moved this one to #6 and will hide your comment.
For those who have been referred to this issue for pre-release installation: You do not need these instructions anymore because the preset is now available on NPM.
ERR_PNPM_FETCH_404 GET https://registry.npmjs.org/unocss-preset-windblade: Not Found - 404
This error happened while installing a direct dependency of /home/manjaro/DEV/astro uno/uno
unocss-preset-windblade is not in the npm registry, or you have no permission to fetch it.
No authorization header was set for the request. Progress: resolved 3, reused 3, downloaded 0, added 0