Comments (5)
Hey, that's correct! I don't have that by default. Just adding the directory back manually got the init flow working again!
from shadcn-svelte.
Was this executed in a new project or a preexisting one? Judging by the output of the system info, it looks like an older project.
If that's the case, can you send the contents of your svelte.config.js
file and your tsconfig.json
?
from shadcn-svelte.
This was executed in a pre-existing SvelteKit project, yes.
`tsconfig.json`
{
"extends": "./.svelte-kit/tsconfig.json",
"compilerOptions": {
"allowJs": true,
"checkJs": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"sourceMap": true,
"strict": true
}
// Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias
//
// If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes
// from the referenced tsconfig.json - TypeScript does not merge them in
}
`svelte.config.js`
import adapter from '@sveltejs/adapter-static';
import { vitePreprocess } from '@sveltejs/kit/vite';
/** @type {import('@sveltejs/kit').Config} */
const config = {
// Consult https://kit.svelte.dev/docs/integrations#preprocessors
// for more information about preprocessors
preprocess: vitePreprocess(),
kit: {
adapter: adapter({
fallback: 'index.html'
})
}
};
export default config;
from shadcn-svelte.
This is an older project template that I had and just used to pick up an old project I needed to work with. I can try and port everything over and reinit the project (it's no biggie) but since there was an issue with what is supposed to be a supported svelte-kit project, I thought I would open an issue.
from shadcn-svelte.
Do you have a src/lib
directory? IIRC, older versions of sveltekit won't generate the $lib
path alias if the lib
dir doesn't exist.
from shadcn-svelte.
Related Issues (20)
- On this Page section of docs not scrollable
- ScrollArea.ScrollBar missing in firefox HOT 2
- .
- Cryptic css rules needed to get out-of-the-box results HOT 1
- Resizable abstraction leaks when importing type PaneAPI HOT 1
- Janky animation on Edge browser with high resolution monitor HOT 1
- bug: page scrolls when some components are closed after opening them
- Horizontal Scrolling not working on chrome desktop HOT 8
- Web component option
- Adding a input otp component HOT 11
- Clicking on label for a select component opens it HOT 7
- Time Picker
- Basic install breaks tailwind HOT 2
- DateTicker Localization(l18n) setting HOT 1
- Data table becomes empty when email column removed HOT 3
- Data Table "On this page" is missing Row Selection HOT 2
- Button disabled attribute does not exist in type HOT 2
- Range Calendar value binding reactivity
- UI bug for example/card HOT 1
- Typography as components HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shadcn-svelte.