Skip to content
/ Beer Public template

Document Editor with hot features

Notifications You must be signed in to change notification settings

CFarhad/Beer

Repository files navigation

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>

About

Document Editor with hot features

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published