Comments (2)
Hi there @ForrestHong,
Can you share a repo of this where I can take a look ?
I just created a fresh Vite project this morning and Font Awesome Icons are showing up nicely.
You can check it out here: https://github.com/jasonlundien/fa-vue-vite-testing
from vue-fontawesome.
Hello jasonlundien
Thanks for the comments, compared with your Vite Project above, I found I had a define for "global" in vite.config.js. after I remove it, the npm build passed.
--- a/Vue/vue-demo/vite.config.js
+++ b/Vue/vue-demo/vite.config.js
@@ -9,9 +9,6 @@ export default defineConfig({
plugins: [
vue(),
],
- define: {
- global: {},
- },
resolve: {
alias: {
mqtt: 'mqtt/dist/mqtt.js',
from vue-fontawesome.
Related Issues (20)
- Incorrect type definition causing issues with Volar HOT 3
- Icons not working in Vue3 while rendering with v-html HOT 1
- 3.x Types Issue: FontAwesomeIconProps missing values HOT 2
- eslint: FontAwesomeIcon not found in '@fortawesome/vue-fontawesome' HOT 7
- Vue-FA 3 with Vue 3 global HOT 2
- 2.0.9 multiple versions leading to checksum errors HOT 4
- Update latest npm tag to v3 HOT 4
- 3.x Types Issue: FontAwesomeIconProps missing values HOT 3
- Nuxt 3 - Content duplicated by using font-awesome-icon HOT 16
- ESLint cannot recognize FontAwesomeIcon import HOT 4
- Computed property "title" is already defined in Props. HOT 1
- Unexpected Token - fresh @fortawesome install HOT 2
- Spin does not work on the Edge browser on Android phones, but it works on the Edge browser on Windows 11
- How to use plugin alongside with kits HOT 1
- make an icon component specifically for tree shaking HOT 8
- Inertia.js, Laravel, Vue 3, SSR: Could not find one or more icon(s) HOT 2
- Make FontAwesomeIconProps exportable HOT 10
- Unique ID generated when using a "title" breaks SSR HOT 1
- Vue component considers 0 (for rotation) and md (for size) despite them being legitimate values HOT 6
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 vue-fontawesome.