Coming soon..
This feature is in progress
1
NPM
For use with a project using a bundler like Webpack, Rollup, or Parcel
Installation
npm install --save bulma svelma rollup-plugin-postcss
npm install --save bulma svelma rollup-plugin-postcss
rollup-plugin-postcss
to your rollup.config.js
.
import postcss from 'rollup-plugin-postcss'
// ...
export default {
// ...
plugins: [
svelte({
// ...
}),
postcss(),
}
}
Usage
<!-- App.svelte -->
<script>
import 'bulma/css/bulma.css'
</script>
<script>
import { Button } from 'svelma'
</script>
<Button>I am a Button</Button>
<script>
import { Svelma } from 'svelma'
</script>
<Svelma.Button>I am a Button</Svelma.Button>
2
CDN