@use "~inter-ui/default" How to set correct path if this use in src/styles/global.scss…
- User
@use "~inter-ui/default" How to set correct path if this use in src/styles/global.scss
inter-ui in node_modules/inter-ui
vue project
- Assistant
To use the
inter-uifont in your Vue project, you'll want to ensure you're correctly referencing the path to the font files within your project's file structure. Given thatinter-uiis located innode_modules, you can follow these steps to properly import and use it in yoursrc/styles/global.scssfile:-
Install the
inter-uipackage (if not already installed):Make sure you've installed the
inter-uipackage via npm or yarn:
-
- User
got Can't find stylesheet to import. error
- Assistant
If you're encountering a "Can't find stylesheet to import" error when trying to import styles from a package in
node_modules, there are a few things to check:1. Verify the Package and Path:
First, ensure that the
inter-uipackage is correctly installed in yournode_modules: