Comments (15)
Try:
php artisan clear && php artisan view:clear && php artisan config:clear && php artisan cache:clear
Verify if you have an "x-icon" component in your project and remove it
Remove published wireui assets and config, and publish again if you needed
from wireui.
Thanks, enjoy wireui
from wireui.
Hello @carloslopes34
You was published the wireui config file?
Was changed the WIREUI_ICONS_STYLE?
from wireui.
Hello @PH7-Jack I published as the installation exemplifies, and I didn't change anything, I just inserted the select component of the example to start testing it but it returns this Icon error. I'm using laravel 8 + livewire in my project.
from wireui.
Can you check it?
your-project/config/wireui.php
or check this WIREUI_ICONS_STYLE in .env file
from wireui.
it's exactly the same, I don't add it to the .env.
I published these files, which path are they located in?
do i need to install the separate icons?
php artisan vendor:publish --tag='wireui.config'
php artisan vendor:publish --tag='wireui.resources'
php artisan vendor:publish --tag='wireui.lang'
from wireui.
You can create a reproducible repository with this error?
I try here, but nothing happen
When you publish files, will be found in:
your-project/config/wireui.php
your-project/resources/lang/vendor/wireui/
your-project/resources/views/vendor/wireui/
from wireui.
Don't need to install any icons
from wireui.
as it is an internal project of the company I cannot publish it, but it has something to do with the x-icon components,
doing some testing, i realize that only components that use icons cause this error.
from wireui.
You don't need to publish your project, you can create a new project and simulate this same error
from wireui.
realizei uma instalação de laravel 8 + jetstream e livewire , adcionei tailwindcss , para teste e ocorre mesmo erro... há algo que poderia causar algum conflito com o icones?
Essas são minhas dependencias de npm
"devDependencies": {
"@tailwindcss/forms": "^0.3.1",
"@tailwindcss/typography": "^0.4.0",
"alpinejs": "^2.7.3",
"axios": "^0.21",
"laravel-mix": "^6.0.25",
"lodash": "^4.17.19",
"postcss": "^8.3.5",
"resolve-url-loader": "^3.1.4",
"sass": "^1.35.1",
"sass-loader": "^12.1.0",
"tailwindcss": "npm:@tailwindcss/postcss7-compat@^2.2.4",
"webpack": "^5.41.1"
},
"dependencies": {
"postcss-import": "^14.0.1",
"sweetalert2": "^11.0.18"
}
e estas a de composer
"require": {
"php": "^7.3|^8.0",
"fideloper/proxy": "^4.4",
"fruitcake/laravel-cors": "^2.0",
"guzzlehttp/guzzle": "^7.0.1",
"laravel/framework": "^8.40",
"laravel/jetstream": "^2.3",
"laravel/sanctum": "^2.6",
"laravel/tinker": "^2.5",
"laravel/ui": "^3.3",
"livewire/livewire": "^2.0",
"ph7jack/wireui": "^0.9.2",
"spatie/laravel-permission": "^4.2"
},
"require-dev": {
"facade/ignition": "^2.5",
"fakerphp/faker": "^1.9.1",
"laravel/sail": "^1.0.1",
"mockery/mockery": "^1.4.2",
"nunomaduro/collision": "^5.0",
"phpunit/phpunit": "^9.3.3"
},
from wireui.
Testando uma instalação nova do laravel 8 + jetstream + livewire + tailwindcss o erro retornado é diferente.
Undefined variable: _instance (View: C:\xampp\htdocs\Projetos\Pessoais\teste\resources\views\vendor\wireui\components\select.blade.php)
há algo conflitando com esta instalação.
from wireui.
I create an example repository using jetstream and wireui
https://github.com/PH7-Jack/wireui-jetstream-starter-kit
The error Undefined variable: _instance is because you are imporrting select component outside a livewire component
from wireui.
No projeto teste funciona mas no projeto que estou usando e instalei esse pacote ele continua com erro de icone.
Alguma ideia ou sugestão que possa me dar?
Typed property WireUi\View\Components\Icon::$style must be string, null
from wireui.
@PH7-Jack funcionou perfeitamente !!!! Tinha algo a ver com o cache do laravel .
Incrivel pacote de componentes . Muito Obrigado pela Ajuda Amigo!!!!
from wireui.
Related Issues (20)
- Love WireUI, dreaming of some new features :D HOT 3
- icon 'academic-cap' in dark mode shows white background
- V2 Multi Select with wire:model.live does not react on changes HOT 4
- Problem viewing content below the select component HOT 2
- V2 - View [components.outline.x] not found. HOT 2
- V2 laggy and slow on chrome without hardware acceleration
- [V2] Unable to locate some components HOT 2
- Link to Docs is broken on md
- Alpine Expression Error: wireui_modal is not defined Expression: "wireui_modal({ show: false, model: JSON.parse(atob('eyJuYW1lIjoibW9kZWwiLCJkaXJlY3RpdmUiOiJ3aXJlOm1vZGVsLmRlZmVyIiwidmFsdWUiOiJjcmVhdGVNb2RhbCJ9')) })" HOT 2
- toggle element click event hitbox error HOT 1
- Search in async-search is not working on views
- Select component rendered, but dropdown list not showing up HOT 3
- Docs: When I type a phone number into x-phone, I get a bracket HOT 2
- Add custom row and column properties to textarea
- How pass parameters to modal? HOT 5
- Maskable Input : allow regex
- We come back! HOT 1
- Inputs showing touble outlines in Firfox HOT 2
- Datetime picker doesn't get a value
- Default selected value not working 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 wireui.