Vincent Bathelier

Results 9 comments of Vincent Bathelier

To have it working in the browser, I had to replace ``` js import { library } from '@fortawesome/fontawesome-svg-core' ``` with ``` js import { library } from 'path/to/fontawesome-svg-core/index.es.js' ```

Many projects do not rely on nodejs and need a browser ES module. Will this lib be compatible with that in the future?

As I can see on [Rollup.js Quick start docs](https://rollupjs.org/guide/en/#quick-start), the output format for browsers is `iife`. Maybe it is sufficient to add this in [your config](https://github.com/FortAwesome/vue-fontawesome/blob/master/rollup.config.js)?

Vue.js has a browser ES module, take a look at [this line](https://github.com/vuejs/vue/blob/fd0eaf92948bb5a4882d538362091fb287d642e3/package.json#L19) in their package.json file. Hope this will help.

> > > HI! how to compile in macOS? I only see instructions for Linux or Windows :( It is the same as for Ubuntu, see this link: https://github.com/xmrig/xmrig-amd/wiki/Ubuntu-Build

Maybe it would be great to use Metal API instead of OpenCL. Metal is up to date and well optimized. But I can understand that it would be a huge...

@kiccer what Vue.js version are you using? It worked for me with a Vue.js v2 project.

@kiccer when you type `code` in your powershell, does it open VSCode ?