Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No "@oruga-ui/oruga-next/dist/oruga.css" #710

Closed
isamu opened this issue Jan 1, 2024 · 5 comments · Fixed by #711
Closed

No "@oruga-ui/oruga-next/dist/oruga.css" #710

isamu opened this issue Jan 1, 2024 · 5 comments · Fixed by #711
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@isamu
Copy link

isamu commented Jan 1, 2024

Overview of the problem

Oruga version: [0.8.2]
Vuejs version: [3.4.0]
OS/Browser:
Mac/Chrome

Description

I set it up according to the README.md
But I got error no @oruga-ui/oruga-next/dist/oruga.css

Steps to reproduce

npm install @oruga-ui/oruga-next

and add to main.ts

import Oruga from '@oruga-ui/oruga-next';
import '@oruga-ui/oruga-next/dist/oruga.css';

Expected behavior

no error.

Actual behavior

Got No '@oruga-ui/oruga-next/dist/oruga.css' file error.

@jtommy
Copy link
Member

jtommy commented Jan 2, 2024

Can you show the point in the docs? By the way the css is in the theme package https://github.com/oruga-ui/theme-oruga

@jtommy jtommy added the documentation Improvements or additions to documentation label Jan 2, 2024
@isamu
Copy link
Author

isamu commented Jan 2, 2024

@isamu
Copy link
Author

isamu commented Jan 2, 2024

When I tried theme-oruga according to the official documentation, an error occurred if the sass package was missing.
https://oruga.io/documentation/#styling
It is better to also add sass install to the document or add sass to dependencies.

@mlmoravek
Copy link
Member

@isamu Thanks for mentioning this. Yes, that part of the docs does seem outdated.
All the CSS has been moved to its own package as a theme.
See https://oruga.io/documentation/themes.html and https://github.com/oruga-ui/theme-oruga for the default oruga theme.

@isamu
Copy link
Author

isamu commented Jan 2, 2024

@jtommy @mlmoravek
Thank you for following.

If a beginner see the npm page, the installation will fail. I think it would be good if you could fix README.md.

Our project was using Buefy/Bulma with an old nuxt.
It was helpful to have support for Vue3 as well.
Thank you very much for developing Oruga.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants