Comments (4)
Does your bootstrap.js
still try to include jQuery and Bootstrap?
If so - you will need to remove them.
from uikit3.
Remove bootstrap.js or JQuery and Bootstrap?
from uikit3.
The error basically says that your bootstrap.js
file (nothing to do with twitter bootstrap) contains 2 bits of code, which webpack cannot find.
These 2 missing bits of code are bootstrap-sass
and jquery
IF you want to use jQuery - you'll need to install jquery to your project, with something like npm install jquery
If you don't want jQuery, then delete the line of code within bootstrap.js
which tries to include it, i imagine it will look something like $ = jQuery = requre('jquery')
--
As you're using UIKit and not Twitter Bootstrap, you will want to remove the code which tries to include it, this line of code probably just looks like require('bootstrap-sass')
So if you remove that bit of code from the bootstrap.js
then it wont error
from uikit3.
Removing the bootstrap-sass
and jquery
referenced fixes the errors that occur when I run npm run dev
. I am however still stuck with UIKit components not displaying properly. I have linked app.css and app.js to the View but the still component isn't showing correctly.
I am wondering how the UIKit javascript is linked to the page. Since I can't find references to it anywhere.
Trying to get a simple dropdown to work.
<button type="button"></button>
<div uk-dropdown>This is the content</div>
from uikit3.
Related Issues (9)
- Moving to an organization HOT 5
- Beta 35, deprecating jquery and passport scaffolds HOT 3
- Essential .js not included - basic stuff does not work HOT 2
- ERROR in ./resources/assets/js/bootstrap.js HOT 2
- uikit-rtl instead uikit HOT 1
- Why i can't use uikit icon HOT 3
- Support Laravel 6 HOT 1
- Home view missing logout link HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from uikit3.