Giter Site home page Giter Site logo

Comments (6)

aabounegm avatar aabounegm commented on June 2, 2024 1

@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?

from attractions.

zachsa999 avatar zachsa999 commented on June 2, 2024

This might be my inexperience with sass talking though

from attractions.

zachsa999 avatar zachsa999 commented on June 2, 2024

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

from attractions.

zachsa999 avatar zachsa999 commented on June 2, 2024

where __dirname = ''

from attractions.

zachsa999 avatar zachsa999 commented on June 2, 2024

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

from attractions.

zachsa999 avatar zachsa999 commented on June 2, 2024

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.

from attractions.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.