Closed zachsa999 closed 2 years ago
This might be my inexperience with sass talking though
just set my svelte.config.js
to
sveltePreprocess({
scss: {
// prependData: '@use "src/variables.scss" as *;',
importer: makeAttractionsImporter({
// themeFile: 'node_modules/attractions/_variables'
themeFile: path.join(__dirname, 'static/css/theme.scss'),
includePaths: [path.join(__dirname, './static/css')],
}),
}
}),
it's loading the custom theme, then the old theme jumps back in. during site loading
where __dirname = ''
Now it works, I did a lot of fiddling and going through source code. Seemingly I had a syntax error somewhere, and accidentally fixed it by trying every combination of everything.
@illright would you be interested in my pushing an install guide for sveltekit to the docs? They just had a pretty substantial routing change, I imagine they are quite close to version 1.0.0
@zachsa999 thanks for your interest in helping with the docs, but there is already an ongoing PR for migrating to SvelteKit (including a task for updating the guides). It has been inactive for a little while now due to me being a little busy with other stuff at the moment, but I'm planning to get back to it soon. Can we consider this issue done or do you still need help with it?
It is done, every so often the only thing I need to do if I have an issue is to tell the world.
Thanks for the great component library.
Just found this component library, excited to try it, but its puking out a hundred errors. they are all variants of
I'm going to drop all my config files below. Do you know what is going on here?
app.scss
svelte.config.js
package.json
If i change the contents of app.scss to
I get
<CheckIcon> is not a valid SSR component. You may need to review your build config to ensure that dependencies are compiled, rather than imported as pre-compiled modules
I change sveltePreprocess in svelte.config.js to