Comments (6)
this likely will improved (or at least be documented) but adding the file to https://github.com/stefanpenner/ember-cli/blob/master/skeleton/Brocfile.js#L60-L64 should do the trick.
from ember-cli.
@stefanpenner where should we put stylesheets?
from ember-cli.
@ulisesrmzroche app/styles for now
from ember-cli.
So if we want to say use d3
I would first install d3 with bower, then once d3
is available in /vendor
we will add the file location to the list
legacyFilesToAppend: [
'jquery.js',
'handlebars.js',
'ember.js',
'ember-data.js',
'ember-resolver.js',
'vendors/d3.js`
],
So that from next time d3
is included in index.html
and for my tests
, available for importing
and not available as global
. Am I right?
So for a package available through bower
I can do
- add the package to
bower.json
- add the file to
brocfile.js
This two steps should do the trick?
from ember-cli.
It worked for me by just putting foundation.js
on its own, w/out
specifying the vendor directory. It's probably the same with d3.
On Tue, Mar 11, 2014 at 1:26 AM, sabithpocker [email protected]:
So if we want to say use d3 I would first install d3 with bower, then
once d3 is available in /vendor we will add the file location to the listlegacyFilesToAppend: [
'jquery.js',
'handlebars.js',
'ember.js',
'ember-data.js',
'ember-resolver.js',
'vendors/d3.js`
],So that from next time d3 is included in index.html and for my tests,
available for importing and not available as global. Am I right?So for a package available through bower I can do
- add the package to bower.json
- add the file to brocfile.js
This two steps should do the trick?
Reply to this email directly or view it on GitHubhttps://github.com//issues/42#issuecomment-37266850
.
from ember-cli.
@ulisesrmzroche it is (this is slightly unexpected until you realize what its doing)
I'll add a quick note above legacyFilesToAppend
telling the user what it does
from ember-cli.
Related Issues (20)
- Test against yarn 3 HOT 4
- WARNING: Ember CLI v5.2.0 is not tested against Node v20.4.0. S HOT 4
- ember build --watch fails with '[NodeWrapper:4 /path/to/some/folder] is not a SourceNode' when the app name contains 'ember-data' anywhere HOT 10
- incompatible with bun (or bun is incompatible)
- `test` script should not run `lint:*` scripts HOT 1
- Drop Node 16 in ember-cli 5.4 HOT 4
- Fails to fingerprint in production mode HOT 3
- set `declaration: false` in tsconfig.json for the app blueprint.
- TypeScript error on new project: 'SetupTestOptions' is a type and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled. HOT 2
- Run Prettier standalone HOT 2
- fingerprint.prepend not working for the chunk js files HOT 3
- [email protected] has security vulnerability HOT 2
- Setup ESLint for gjs/gts
- You passed the '--typescript' flag but there is no TypeScript blueprint available. A JavaScript blueprint will be generated instead. HOT 7
- new typescript component blueprint gives eslint warning HOT 3
- Fresh app 404's on missing assets/test-support.css HOT 8
- Could it be possible to use `--directory` to output to an already existing directory? HOT 1
- Add a `--no-ci-provider` flag for `ember new`
- App blueprint has invalid ESLint config HOT 4
- Add bun support for Ember CLI projects HOT 1
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 ember-cli.