- 在适用的地方使用别名导入(在 svelte.config.js 中定义): typescript import SomeComponent from '$lib/components/SomeComponent.svelte'; import { someUtil } from '$lib/utils';
Sveltekit Tailwind Typescript Guide Imports Aliasing
Use when working with SvelteKit — imports aliasing, $lib path aliases
Sveltekit Tailwind Typescript Guide Imports Aliasing by liaosw97 · 7b39c6f
npx skillmds@latest add liaosw97/sveltekit-tailwind-typescript-guide-imports-aliasing File contents
---name: sveltekit-tailwind-typescript-guide-imports-aliasingdescription: Use when working with SvelteKit — imports aliasing, $lib path aliases---- 在适用的地方使用别名导入(在 svelte.config.js 中定义): typescript import SomeComponent from '$lib/components/SomeComponent.svelte'; import { someUtil } from '$lib/utils';
liaosw97/awesome-rules-skills/tree/main/plugins/sveltekit-tailwind/skills/sveltekit-tailwind-typescript-guide-imports-aliasing commit 7b39c6fb5a
Frequently asked questions
Run npx skillmds@latest add liaosw97/sveltekit-tailwind-typescript-guide-imports-aliasing in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Use when working with SvelteKit — imports aliasing, $lib path aliases It is listed under Web & Frontend on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Capability flags: docs only. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
liaosw97 (@liaosw97) published this skill. Their other Agent Skills are listed on their SkillMD profile.