/Beer

Document Editor with hot features

Primary LanguageSvelte

Beer is a website from svelte js for editing documents and photos with hot features.


🍨 features

  • image [png,svg,jpg,webp]
  • sign
  • zoom in & zoom out
  • save document
  • stamp

🍟 Usage

Install the dependencies...

cd Beer
npm install

then start Rullup

npm run dev

Navigate to localhost:9000. You should see your app running. Edit a component file in src, save it, and reload the page to see your changes.

By default, the server will only respond to requests from localhost. To allow connections from other computers, edit the sirv commands in package.json to include the option --host 0.0.0.0.

If you're using Visual Studio Code we recommend installing the official extension Svelte for VS Code. If you are using other editors you may need to install a plugin in order to get syntax highlighting and intellisense.


Building and running in production mode

To create an optimised version of the app:

npm run build

Run project on server

You must delete the / character in the index.html file from behind the path

from

<link rel='icon' type='image/png' href='/favicon.png'>
<link rel='stylesheet' href='global.css'>
<link rel='stylesheet' href='/build/bundle.css'>

<script defer src='/build/bundle.js'></script>

to

<link rel='icon' type='image/png' href='/favicon.png'>
<link rel='stylesheet' href='global.css'>
<link rel='stylesheet' href='build/bundle.css'>

<script defer src='build/bundle.js'></script>