diff --git a/README.md b/README.md index 82c95f1..6ffe006 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Stack is a reusable typed component that allows you to easily manage the layout To use it in a React project, you can just import and use it as you would in a normal React component: ```js -import { Stack } from "@nerdgeschoss/shimmer/components/stack"; +import { Stack } from "@nerdgeschoss/shimmer/dist/components/stack";
@@ -24,7 +24,7 @@ import { Stack } from "@nerdgeschoss/shimmer/components/stack";
; ``` -To use it in an HTML file, you can just import the css file directly from `@nerdgeschoss/shimmer/components/stack.css` and just implement the classes as they are in the stylesheet: +To use it in an HTML file, you can just import the css file directly from `@nerdgeschoss/shimmer/dist/components/stack.css` and just implement the classes as they are in the stylesheet: ```html
diff --git a/lib/shimmer/form.rb b/lib/shimmer/form.rb index b6377f5..3939a09 100644 --- a/lib/shimmer/form.rb +++ b/lib/shimmer/form.rb @@ -5,8 +5,8 @@ module Form end end -require_relative "./form/builder" -require_relative "./form/field" +require_relative "form/builder" +require_relative "form/field" Dir["#{File.expand_path("./form", __dir__)}/*"].sort.each do |e| require e