Skip to content

jacarma/calculadorahepa

Repository files navigation

Calculadora HEPA

https://calculadorahepa.netlify.app/

The CADR calculator that helps you to choose the right air purifier.

Netlify Status

Development

This project uses Svelte.

Get Deps

Install the dependencies...

cd calculadorahepa && yarn

...then start Rollup:

yarn dev

Navigate to localhost:5000.

LiveReload is enabled so when you edit a component file in src and save it the browser will reload the page to see your changes.

Building and running for production

To build an optimised version of the app:

yarn build

You can run the newly built app with yarn start. This uses sirv, which is included in the package.json's dependencies so that the app will work when it is deployed to platforms like Heroku.

Single-page app mode

By default, sirv will only respond to requests that match files in public. This is to maximise compatibility with static fileservers, allowing you to deploy your app anywhere.

If you're building a single-page app (SPA) with multiple routes, sirv needs to be able to respond to requests for any path. You can make it so by editing the "start" command in package.json:

"start": "sirv public --single"

With assistance from the following:

How to configure Tailwind in a svelte project? link

Erroneous errors with tailwind-style @ rules link

Import Svelte component ommiting .svelte extension link

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published