0.1.102 • Published 6 months ago

brfd-svui v0.1.102

Weekly downloads
-
License
MIT
Repository
-
Last release
6 months ago

Welcome to brfd-svui

Relative paths

Since svelte-ui is a npm-published library, all import paths are relative instead of absolute. That is so that, when compiled, the paths will still make sense in the importing package.

There might be a way to compile relative paths into absolute ones, but at the moment documentation around this is scarce.

Running svelte-ui

If this is the first time doing this, run:

yarn
yarn build

This will create a dist folder which we will use to deploy

CSS

In your svelte-kit project, import in your main layout the following:

import 'brfd-svui/dist/css/svui-tailwind.css'
import 'brfd-svui/dist/css/theme.css'
import 'brfd-svui/dist/css/smui.css'

Developing locally

To import svelte-ui in another project and watch for changes, do the following:

In the svelte-ui folder:

yarn link

In the folder where you want to use svelte-ui, make sure brfd-svui is listed as a dependency inside package.json, and then run:

yarn link brfd-svui

Now your local version of svelte-ui (the one you built in the dist folder) will be used instead of the npm-installed one. To watch for changes, inside the svelte-ui folder run:

yarn watch

Exporting components

Make sure all of your code is exported in index.ts, otherwise apps implementing svelte-ui will not be able to see it. No consts/types should be exported from .svelte files. All non-svelte components should be exported from .ts files.

Publishing svelte-ui

Make sure you are logged in locally to npm Increment the version in package.json, then run

yarn publish
0.1.102

6 months ago

0.1.101

6 months ago

0.1.100

6 months ago

0.1.99

7 months ago

0.1.98

7 months ago

0.1.96

8 months ago

0.1.97

8 months ago

0.1.95

8 months ago

0.1.94

9 months ago

0.1.93

9 months ago

0.1.90

11 months ago

0.1.91

11 months ago

0.1.92

11 months ago

0.1.85

1 year ago

0.1.86

1 year ago

0.1.87

1 year ago

0.1.88

12 months ago

0.1.89

11 months ago

0.1.82

1 year ago

0.1.83

1 year ago

0.1.84

1 year ago

0.1.80

1 year ago

0.1.81

1 year ago

0.1.79

1 year ago

0.1.78

1 year ago

0.1.76

1 year ago

0.1.77

1 year ago

0.1.75

1 year ago

0.1.74

1 year ago

0.1.70

1 year ago

0.1.71

1 year ago

0.1.72

1 year ago

0.1.73

1 year ago

0.1.65

1 year ago

0.1.66

1 year ago

0.1.67

1 year ago

0.1.68

1 year ago

0.1.69

1 year ago

0.1.64

1 year ago

0.1.63

1 year ago

0.1.61

1 year ago

0.1.62

1 year ago

0.1.60

1 year ago

0.1.59

1 year ago

0.1.57

1 year ago

0.1.58

1 year ago

0.1.56

1 year ago

0.1.55

1 year ago

0.1.54

1 year ago

0.1.52

1 year ago

0.1.53

1 year ago

0.1.51

1 year ago

0.1.50

1 year ago

0.1.49

1 year ago

0.1.48

1 year ago

0.1.45

1 year ago

0.1.44

1 year ago

0.1.42

2 years ago

0.1.43

2 years ago

0.1.41

2 years ago

0.1.40

2 years ago

0.1.38

2 years ago

0.1.39

2 years ago

0.1.37

2 years ago

0.1.36

2 years ago

0.1.35

2 years ago

0.1.34

2 years ago

0.1.10

2 years ago

0.1.11

2 years ago

0.1.12

2 years ago

0.1.13

2 years ago

0.1.14

2 years ago

0.1.15

2 years ago

0.1.0

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.8

2 years ago

0.0.26

2 years ago

0.1.7

2 years ago

0.0.27

2 years ago

0.0.28

2 years ago

0.1.9

2 years ago

0.0.29

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.30

2 years ago

0.1.31

2 years ago

0.1.32

2 years ago

0.1.33

2 years ago

0.0.21

2 years ago

0.0.22

2 years ago

0.0.23

2 years ago

0.0.24

2 years ago

0.0.25

2 years ago

0.1.27

2 years ago

0.1.28

2 years ago

0.1.29

2 years ago

0.1.20

2 years ago

0.1.21

2 years ago

0.1.22

2 years ago

0.1.23

2 years ago

0.1.24

2 years ago

0.1.25

2 years ago

0.1.26

2 years ago

0.1.16

2 years ago

0.1.17

2 years ago

0.1.18

2 years ago

0.1.19

2 years ago

0.0.20

2 years ago

0.0.18

2 years ago

0.0.19

2 years ago

0.0.10

2 years ago

0.0.11

2 years ago

0.0.12

2 years ago

0.0.13

2 years ago

0.0.14

2 years ago

0.0.15

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.17

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago