Comments (8)
Not sure what that means?
from uikit3.
Never mind. Fixed it by adding a jquery include to app.blade.php.
from uikit3.
But perhaps there still is a problem? Looks to me like bootstrap.js includes jquery so I probably shouldn't have to link it manually?
from uikit3.
@nille have you run mix to compile the assets?
from uikit3.
@OwenMelbz Yes, I have.
Also, if I inspect the page in chromes console I see this error:
bootstrap.js:6 Uncaught Error: Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.
Not sure why there is a reference to Bootstrap there.
from uikit3.
Can you paste your bootstrap.js and your package.json? Ideally within the x3 ``` so it looks like
{ blah }
from uikit3.
I'm ashamed to admit it but the fault was (off course) my own. Apparently one of my chrome addons messed everything up as it has some sort of reference to bootstrap/jquery.
(Here is the addon in case you are interested: https://chrome.google.com/webstore/detail/whatshisface/hdlljjddnhidfgllahkjhpfgommecolc?hl=en-GB)
Thanks!!
from uikit3.
You can just import the uikit in app.js
import UIkit from "uikit";
import Icons from "uikit/dist/js/uikit-icons";
// loads the Icon plugin
UIkit.use(Icons);
// components can be called from the imported UIkit reference
UIkit.notification("Hello world.");
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
- Following the instruction gives errors. Don't see JS files anywhere HOT 4
- Support Laravel 6 HOT 1
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.