-
Notifications
You must be signed in to change notification settings - Fork 10
How/where I can import sass/css/less files ? #1
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Hi! Could you provide me your app.js file please? I believe you should import your less files inside App.vue |
@atinux Thats app.js file
In the app.js file I try to add something like this:
or even css file
and when I run it I get console error:
Can you give me code snippet for thats to work and where to put that ? |
Ok, in your <template>
<div id="app">
<router-view></router-view>
</div>
</template>
<style src="bootstrap/less/bootstrap.less" lang="less"></style> Think about installing the npm install --save-dev less less-loader It's better to import it via the .vue file for extracting it for production 🚀 |
I need help for vue translation + gettext . |
@atinux Any inputs for this. |
You need to create a |
Hey
I installed from example bootstrap from npm.
Then I want to import the bootstrap css/less files and I cant understand where.
When I try to import it in app.js file I get an error that I dont have relevant loader.
So can you explain how I need to import global modules css/sass/less in the project ?
The text was updated successfully, but these errors were encountered: