geneva-emotion-wheel
v0.0.1
Published
The [Geneva Emotion Wheel](https://www.unige.ch/cisa/gew) (GEW) is a theoretically derived and empirically tested instrument to measure emotional reactions to objects, events, and situations.
Downloads
8
Readme
Geneva Emotion Wheel on the web
The Geneva Emotion Wheel (GEW) is a theoretically derived and empirically tested instrument to measure emotional reactions to objects, events, and situations.
Svelte and custom elements
This implementation of the GEW was implemented using svelte but is exported as a custom web componenent that should be usable almost anywhere.
Why Custom Elements?
While custom elements make it possible to reuse components across different frameworks, the larger benefit is reduced coupling. By separating your component library from a specific framework, you lower the cost and risk of future framework upgrades or migrations, even when the components are initially built for a single application.
# create a new project in the current directory
npx sv create
# create a new project in my-app
npx sv create my-appDeveloping
Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --openBuilding
To create a production version of your app:
npm run buildYou can preview the production build with npm run preview.
To deploy your app, you may need to install an adapter for your target environment.
