0.1.102 • Published 12 months ago

brfd-svui v0.1.102

Weekly downloads
-
License
MIT
Repository
-
Last release
12 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

12 months ago

0.1.101

1 year ago

0.1.100

1 year ago

0.1.99

1 year ago

0.1.98

1 year ago

0.1.96

1 year ago

0.1.97

1 year ago

0.1.95

1 year ago

0.1.94

1 year ago

0.1.93

1 year ago

0.1.90

1 year ago

0.1.91

1 year ago

0.1.92

1 year ago

0.1.85

2 years ago

0.1.86

2 years ago

0.1.87

2 years ago

0.1.88

1 year ago

0.1.89

1 year ago

0.1.82

2 years ago

0.1.83

2 years ago

0.1.84

2 years ago

0.1.80

2 years ago

0.1.81

2 years ago

0.1.79

2 years ago

0.1.78

2 years ago

0.1.76

2 years ago

0.1.77

2 years ago

0.1.75

2 years ago

0.1.74

2 years ago

0.1.70

2 years ago

0.1.71

2 years ago

0.1.72

2 years ago

0.1.73

2 years ago

0.1.65

2 years ago

0.1.66

2 years ago

0.1.67

2 years ago

0.1.68

2 years ago

0.1.69

2 years ago

0.1.64

2 years ago

0.1.63

2 years ago

0.1.61

2 years ago

0.1.62

2 years ago

0.1.60

2 years ago

0.1.59

2 years ago

0.1.57

2 years ago

0.1.58

2 years ago

0.1.56

2 years ago

0.1.55

2 years ago

0.1.54

2 years ago

0.1.52

2 years ago

0.1.53

2 years ago

0.1.51

2 years ago

0.1.50

2 years ago

0.1.49

2 years ago

0.1.48

2 years ago

0.1.45

2 years ago

0.1.44

2 years 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

3 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

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.8

3 years ago

0.0.26

3 years ago

0.1.7

3 years ago

0.0.27

3 years ago

0.0.28

3 years ago

0.1.9

3 years ago

0.0.29

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.6

3 years ago

0.1.5

3 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

3 years ago

0.0.22

3 years ago

0.0.23

3 years ago

0.0.24

3 years ago

0.0.25

3 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

3 years ago

0.0.18

3 years ago

0.0.19

3 years ago

0.0.10

3 years ago

0.0.11

3 years ago

0.0.12

3 years ago

0.0.13

3 years ago

0.0.14

3 years ago

0.0.15

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.17

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago