i474
i474

Reputation: 664

Meteor static content

I'm trying to add icons (this icons) to my meteor project placing them into 'app/public' but it freezes my app at starting process:

"Building the application /"

Also tried to place them into 'client/lib', but get's the same result

Using: Meteor 1.3.2.4

Upvotes: 1

Views: 42

Answers (1)

Anthony Astige
Anthony Astige

Reputation: 1969

1. Create a new project

meteor create materialtest

We're doing this to ensure there's no package incompatibility issues, and isolate the simplest issue we can (Meteor with Material Icons).

2. Add a single file

/client/head.html

<head>
    <link href="https://fonts.googleapis.com/icon?family=Material+Icons"
  rel="stylesheet">
</head>

Meteor should pick up the head in this file and render it. Right now afaik this is the only way to put stuff in the head with Meteor 1.3.

3. See if it runs

meteor

Upvotes: 2

Related Questions