首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何将引导包添加到我的流星应用程序中?

如何将引导包添加到我的流星应用程序中?
EN

Stack Overflow用户
提问于 2015-08-21 15:35:47
回答 4查看 255关注 0票数 0

我以为引导程序可能是默认添加到新的流星应用程序中的;为了验证这一点,我使用了:

代码语言:javascript
复制
C:\Meteor\scheduler>meteor list

它返回的...and:

代码语言:javascript
复制
autopublish      1.0.3  Publish the entire database to all clients
insecure         1.0.3  Allow all database writes by default
meteor-platform  1.2.2  Include a standard set of Meteor packages in you...

流星平台里有什么?我试过:

代码语言:javascript
复制
C:\Meteor\scheduler>meteor show meteor-platform

...and得到:

代码语言:javascript
复制
Package: meteor-platform@1.2.2
Maintainers: mdg
Implies: blaze, check, ddp, deps, ejson, fastclick (web.cordova), jquery,
         launch-screen (web.browser, web.cordova), livedata, logging,
         meteor, mobile-status-bar (web.cordova), mongo, random, session,
         spacebars, templating, tracker, ui, underscore, webapp

This package is added to every app by `meteor create`. It includes a set
of common packages that most Meteor apps will find useful, such as
`webapp`, `tracker`, `session`, `ddp`, `mongo` and `blaze`. From the
command line, you can run `meteor show meteor-platform` to see the full
list of implied packages.

These packages make up the official [Meteor
Platform](https://www.meteor.com/projects). See the README of each
individual package to learn more about it.

This package was previously known as
[standard-app-packages](https://atmospherejs.com/meteor/standard-app-packages).

Recent versions:
  1.1.1  September 25th, 2014
  1.1.2  October 13th, 2014
  1.2.0  October 28th, 2014
  1.2.1  December 19th, 2014
  1.2.2  March 17th, 2015      installed

Older and pre-release versions of meteor-platform have been hidden. To see
all 49 versions, run 'meteor show --show-all meteor-platform'.

所以,我尝试了“显示-所有”命令,得到了:

代码语言:javascript
复制
Package: meteor-platform@1.2.2
Maintainers: mdg
Implies: blaze, check, ddp, deps, ejson, fastclick (web.cordova), jquery,
         launch-screen (web.browser, web.cordova), livedata, logging,
         meteor, mobile-status-bar (web.cordova), mongo, random, session,
         spacebars, templating, tracker, ui, underscore, webapp

This package is added to every app by `meteor create`. It includes a set
of common packages that most Meteor apps will find useful, such as
`webapp`, `tracker`, `session`, `ddp`, `mongo` and `blaze`. From the
command line, you can run `meteor show meteor-platform` to see the full
list of implied packages.

These packages make up the official [Meteor
Platform](https://www.meteor.com/projects). See the README of each
individual package to learn more about it.

This package was previously known as
[standard-app-packages](https://atmospherejs.com/meteor/standard-app-packages).

Versions:
  0.0.0-glasser-isopacket.0  November 6th, 2014
  0.0.1                      August 29th, 2014
  1.0.1-glasser1             September 4th, 2014
  1.0.1-rc0                  August 28th, 2014
  1.0.1-rc1                  September 1st, 2014
  1.0.1                      September 4th, 2014
  1.0.2                      September 6th, 2014
  1.0.3-ekate                September 11th, 2014
  1.1.0-rc0                  September 2nd, 2014
  1.1.0-rc1                  September 9th, 2014
  1.1.0-rc2                  September 10th, 2014
  1.1.0                      September 15th, 2014
  1.1.1-rc0                  September 19th, 2014
  1.1.1                      September 25th, 2014
  1.1.2-nim.1                October 8th, 2014
  1.1.2-pre.0                September 30th, 2014
  1.1.2-pre.1                October 1st, 2014
  1.1.2-pre.2                October 1st, 2014
  1.1.2-pre.3                October 3rd, 2014
  1.1.2-pre.4                October 3rd, 2014
  1.1.2-rc.0                 October 7th, 2014
  1.1.2-refreshpolicy.1      October 17th, 2014
  1.1.2                      October 13th, 2014
  1.2.0-rc.0                 October 17th, 2014
  1.2.0-win.0                November 17th, 2014
  1.2.0                      October 28th, 2014
  1.2.1-eachin.0             March 1st, 2015
  1.2.1-ipc.0                November 22nd, 2014
  1.2.1-rc.1                 December 11th, 2014
  1.2.1-slava.0              January 8th, 2015
  1.2.1-win.0                December 1st, 2014
  1.2.1-winr.0               December 18th, 2014
  1.2.1-winr.1               January 20th, 2015
  1.2.1-winr.2               January 20th, 2015
  1.2.1-winr.3               January 20th, 2015
  1.2.1                      December 19th, 2014
  1.2.2-eachin.43            March 1st, 2015
  1.2.2-githubble.0          February 16th, 2015
  1.2.2-githubble.1          February 16th, 2015
  1.2.2-githubble.42         February 16th, 2015
  1.2.2-githubble.43         February 16th, 2015
  1.2.2-rc.0                 March 5th, 2015
  1.2.2-winr.0               January 13th, 2015
  1.2.2-winr.1               January 14th, 2015
  1.2.2-winr.3               February 24th, 2015
  1.2.2                      March 17th, 2015      installed
  1.2.3-galaxy.0             July 17th, 2015
  1.2.3-plugins.0            July 22nd, 2015
  1.2.3-rc.0                 August 10th, 2015

任何地方都没有引导,所以我尝试了:

代码语言:javascript
复制
C:\Meteor\scheduler> meteor add bootstrap

...but犯了“没有这样的包”的错误

So...how我可以把引导包添加到我的流星应用程序中吗?

EN

回答 4

Stack Overflow用户

回答已采纳

发布于 2015-08-21 15:39:03

您需要运行meteor add twbs:bootstrap才能将预编译的引导css添加到项目中。

如果您打算使用更少的代码,并且希望能够更好地控制引导程序编译和链接到应用程序的方式和时间,我建议使用较少插件(meteor add less)和自定义引导包meteor add nemo64:bootstrap的组合。检查后一个这里的文档。

如果您需要使用其他框架或库,您可以始终检查大气社区,查看是否已经存在流星包,以及如何添加它。

票数 2
EN

Stack Overflow用户

发布于 2015-08-21 15:49:47

我看到GPicazo在上面。我同意只需输入流星添加的曲调:引导。此外,https://atmospherejs.com/也是查找包的好地方。您甚至可以为当前或未来的项目找到一些您想要的。

票数 1
EN

Stack Overflow用户

发布于 2015-08-21 15:50:50

任何关于Meteor软件包的问题,一般都会在一秒钟内通过https://atmospherejs.com来回答。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/32144277

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档