Skip to content

Conversation

@jvhellemondt
Copy link
Contributor

No description provided.

api.onCreateComplete(() => {
if (fs.existsSync('src/plugins/vuetify.js')) fs.unlinkSync(api.resolve('src/plugins/vuetify.js'));
if (options.plugins.includes('fontawesomepro') && fs.existsSync('src/plugins/vuetify/FontawesomeFree.js')) fs.unlinkSync(api.resolve('src/plugins/vuetify/FontawesomeFree.js'));
if (!options.plugins.includes('fontawesomepro') && fs.existsSync('src/plugins/vuetify/FontawesomePro.js')) fs.unlinkSync(api.resolve('src/plugins/vuetify/FontawesomePro.js'));
Copy link
Contributor Author

@jvhellemondt jvhellemondt Mar 25, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed due to refactor

export default {
icons,
identifiers,
};
Copy link
Contributor Author

@jvhellemondt jvhellemondt Mar 25, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an example. I'd use application as file name.

faFilePowerpoint,
faFilePdf,
faUpload,
} from '<%_ if (options.plugins.includes("fontawesomepro")){ _%> @fortawesome/pro-solid-svg-icons<%_ } else { _%> @fortawesome/free-solid-svg-icons<%_ } _%>';
Copy link
Contributor Author

@jvhellemondt jvhellemondt Mar 25, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Possible as both as fontawesome solid

@jvhellemondt jvhellemondt merged commit 55898cb into main Mar 25, 2021
@jvhellemondt jvhellemondt mentioned this pull request Mar 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants