2
0
mirror of https://github.com/iconify/iconify.git synced 2024-12-22 09:48:54 +00:00
iconify/iconify-icon-demo/solid-demo
2022-05-17 11:41:40 +03:00
..
src Lit demo for web component, minor tweaks to other demo packages 2022-05-17 11:41:40 +03:00
.gitignore Lit demo for web component, minor tweaks to other demo packages 2022-05-17 11:41:40 +03:00
index.html Wrapper for web component for SolidJS, few fixes for web component 2022-05-16 22:54:05 +03:00
package-lock.json Wrapper for web component for SolidJS, few fixes for web component 2022-05-16 22:54:05 +03:00
package.json Lit demo for web component, minor tweaks to other demo packages 2022-05-17 11:41:40 +03:00
pnpm-lock.yaml Wrapper for web component for SolidJS, few fixes for web component 2022-05-16 22:54:05 +03:00
README.md Wrapper for web component for SolidJS, few fixes for web component 2022-05-16 22:54:05 +03:00
tsconfig.json Wrapper for web component for SolidJS, few fixes for web component 2022-05-16 22:54:05 +03:00
vite.config.ts Wrapper for web component for SolidJS, few fixes for web component 2022-05-16 22:54:05 +03:00

Usage

Those templates dependencies are maintained via pnpm via pnpm up -Lri.

This is the reason you see a pnpm-lock.yaml. That being said, any package manager will work. This file can be safely be removed once you clone a template.

$ npm install # or pnpm install or yarn install

Learn more on the Solid Website and come chat with us on our Discord

Available Scripts

In the project directory, you can run:

npm dev or npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.

npm run build

Builds the app for production to the dist folder.
It correctly bundles Solid in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

Deployment

You can deploy the dist folder to any static host provider (netlify, surge, now, etc.)