File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 4343 },
4444 "./readme.md" : " ./readme.md" ,
4545 "./package.json" : " ./package.json" ,
46- "./style" : " ./dist/style.css"
46+ "./style" : " ./dist/style.css" ,
47+ "./style.css" : " ./dist/style.css"
4748 },
4849 "typesVersions" : {
4950 "*" : {
Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ npm i mind-elixir -S
122122
123123``` javascript
124124import MindElixir from ' mind-elixir' ;
125- import " mind-elixir/style" ;
125+ import " mind-elixir/style.css " ;
126126```
127127
128128#### Script tag
@@ -151,7 +151,7 @@ And in your CSS file:
151151
152152``` javascript
153153import MindElixir from ' mind-elixir'
154- import " mind-elixir/style" ;
154+ import " mind-elixir/style.css " ;
155155import example from ' mind-elixir/dist/example1'
156156
157157let options = {
@@ -426,5 +426,5 @@ Thanks for your contributions to Mind Elixir! Your support and dedication make t
426426- ` node.style.fontSize ` : use string instead of number which means you should add ` px ` to the end
427427- Use ` instance.findEl ` instead of ` MindElixir.E ` to get a node element
428428- CSS file is separated from JS file, you need to import it manually
429- - If using a bundler with CSS support: ` import "mind-elixir/style"; `
429+ - If using a bundler with CSS support: ` import "mind-elixir/style.css "; `
430430 - If using a CDN you can add to your CSS file: ` @import "https://cdn.jsdelivr.net/npm/mind-elixir@^5.0.0/dist/style.css"; `
You can’t perform that action at this time.
0 commit comments