Skip to content

Salmela/emotion-solid-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Emotion Solid Example

This is an example project demonstrating how to use emotion-solid2 with Vite and SolidJS.

Setup

This project uses the local emotion-solid package from the parent directory. The Vite configuration is set up to resolve emotion-solid2 to the local package source files.

Prerequisites

  1. Build the emotion-solid package first (from the parent directory):
cd ../emotion-solid
npm install
npm run build
  1. Install dependencies for this example project:
npm install

Development

npm run dev

The example uses the source files from ../emotion-solid/src directly, so changes to emotion-solid will be reflected immediately during development.

Build

npm run build

Preview

npm run preview

About

Example project that uses the emotion-solid

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published