Comments (3)
from framework.
Tags does export its JS, but not in the standard way used for 3rd party extensions.
The documentation needs to be changed to reflect this.
You can import this function like so:
import tagLabel from 'flarum/tags/helpers/tagLabel';
from framework.
You can import this function like so:
import tagLabel from 'flarum/tags/helpers/tagLabel';
Thank you, this is working as expected! It seems the Webpack step is not needed with this method of import:
module.exports = require('flarum-webpack-config')({ // Provide the extension IDs of all extensions from which your extension will be importing. // Do this for both full and optional dependencies. useExtensions: ['flarum-tags'] });
from framework.
Related Issues (20)
- Undoing Hiding (ignoring) discussions HOT 4
- Package Manager error in Flarum 1.7.1
- fttb slow response time HOT 6
- fttb slow response time HOT 1
- flarum/flags should use pagination HOT 1
- [Package Manager] updating when using beta packages HOT 1
- Code syntax highlighting bug HOT 12
- Permission grid doesn't show all the tags
- Make use of improved color contrast for group badges
- Hardcoded "wrote" in flarum/bbcode
- flarum/phpstan still have not been released on packagist HOT 2
- [Core - JS] UserSecurityPage is not exported
- Opening discussions becomes extremely slow when loading a lot of discussions.
- Release v1.8
- New installation appears:flarum.ERROR: Less_Exception_Compiler: .tag-label is undefined HOT 7
- Export Registry
- `authenticatedAs` option does not work with `/admin` routes in integration tests
- PostStreamScrubber shows "0 UNREAD" when reply composer is open HOT 2
- "Mentioned by" on posts sometimes leaks hidden posts HOT 5
- LogInController doesn't handle validation exceptions properly
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 framework.