- Initialize new sveltekit project by running
npm init svelte@next sveltekit-base
. - Install neccesary packages with
npm install --save-dev unplugin-auto-import unplugin-icons @iconify-json/majesticons
- Add neccesary code in
svelte.config.js
: - Add icon on
routes/foo.svelte
<- gives warning (also during build time), but works - Add icon on
routes/index.svelte
<-- gives error
-
Notifications
You must be signed in to change notification settings - Fork 1
RickMeijer/sveltekit_auto-import
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published