Umami telemetry config

This commit is contained in:
codevictory 2022-05-09 22:18:58 +03:00
parent 9f1d634cf3
commit 9cefe6237d
4 changed files with 8644 additions and 8659 deletions

View file

@ -1,22 +1,8 @@
# create-svelte # Homesite
Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte). My personal web site, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte).
## Creating a project ## If you want to test this locally
If you're seeing this, you've probably already done this step. Congrats!
```bash
# create a new project in the current directory
npm init svelte@next
# create a new project in my-app
npm init svelte@next my-app
```
> Note: the `@next` is temporary
## Developing
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server: Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
@ -27,14 +13,10 @@ npm run dev
npm run dev -- --open npm run dev -- --open
``` ```
## Building ## Bundling into statics site
To create a production version of your app: To create a static version of this project:
```bash ```bash
npm run build npm run build
``` ```
You can preview the production build with `npm run preview`.
> To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment.

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{ {
"name": "veikko.lintujarvi.fi", "name": "veikko.lintujarvi.fi",
"version": "0.0.1", "version": "1.0.0",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "veikko.lintujarvi.fi", "name": "veikko.lintujarvi.fi",
"version": "0.0.1", "version": "1.0.0",
"dependencies": { "dependencies": {
"@fontsource/fira-mono": "^4.5.0", "@fontsource/fira-mono": "^4.5.0",
"@lukeed/uuid": "^2.0.0", "@lukeed/uuid": "^2.0.0",

View file

@ -1,6 +1,6 @@
{ {
"name": "veikko.lintujarvi.fi", "name": "veikko.lintujarvi.fi",
"version": "0.0.1", "version": "1.0.0",
"scripts": { "scripts": {
"dev": "svelte-kit dev", "dev": "svelte-kit dev",
"build": "svelte-kit build", "build": "svelte-kit build",

View file

@ -14,4 +14,7 @@
<div>%svelte.body%</div> <div>%svelte.body%</div>
</body> </body>
<script async defer data-website-id="25ad484d-c6d4-452e-8f9d-364301d0da3a"
src="https://umami.avislacus.com/umami.js"></script>
</html> </html>