Comments (12)
sass版にはnormalize 同梱しないとか・・・?
from basis.
$ git clone [email protected]:inc2734/basis.git
$ git checkout -b develop
$ git pull origin develop
$ npm install
$ gulp
とやると普通にビルドできたのですが、僕の再現手法が間違っているか、前の issue であったような npm のバージョンの問題ですか?
from basis.
npm 経由でとってくると、normalizeをとってくるときにばぐるっぽいです
from basis.
[email protected]、[email protected] で
npm install "git://github.com/inc2734/basis.git#develop"
でインストールできましたが、コマンドあってますかね…?
あ、これでとってきたのを使おうと(コンパイルしようと)したらバグるってことですかね
from basis.
説明が悪いですね。
npm install "git://github.com/inc2734/basis.git#develop"
でとってきた basis に対して、
@import "../node_modules/sass-basis/src/scss/basis"
等とした場合、その Sass を普通にコンパイルした場合、node_modules からとってきている、normalize.scss が見つからん!というエラーを吐きます。
ユーザー側で、普通に gulp 等で、sass をコンパイルすると、sass-module-importer 等をインストールして設定してもらえれば解決するんですが、それはどうなのよ・・・・。というはなしです。
from basis.
あーなるほど理解しました。sass-module-importer がないと @import "inuit-normalize";
では勝手に node_modules の中から normalize をインポートできないわけですね。だからといって相対パスに書き直すと、2系と3系でパスが変わるから NG と。npm install したときに自動ビルド走るので、その中で npm 経由の normalize をコピーするようにすれば行けそうな気がしますが、すごくめんどくさそうなので最初から含めたほうがよくね?ということですね…。
from basis.
a43f8eb で僕の環境ではビルドできましたが、@torounit さんの環境でもビルドできますか?
from basis.
git clone してきた場合、問題なかったです。
package.jsonに書いて実行した場合、npm install 時
node 5.5, npm 3.7 ではビルドできました。
ですが、 node 4.2.3 npm 2.14.7 だとエラーこきます。(たいした情報は無い) その後、もう一度 npm install するとビルドできます。。。
from basis.
おぉ、今度は2系でダメですか…。もう一度やるとビルドできるのであればもうこれでマージしちゃおうかな。。
from basis.
それ怒られる奴!
from basis.
(TT) 良い方法だと思ったんですけどね…。 安全なのは同梱ですかねー。Foundation や Bootstrap も同梱してるようですし。
from basis.
いや、これは!とは思ったんですがね。まぁ、バージョンが上がれば消滅する問題っぽいので、それまでは同梱してもいいのかなーとは。やり方自体は散々やったのでいつでも復活させらさますしw
from basis.
Related Issues (20)
- hidden-xx、visible-xx が $_sizes と連動していない
- 文字サイズが小さいときの vertical-rhythm のバランスの見直し
- Add "lattice" abstract
- Expand direction the submenu of c-navbar
- Add CSS Variables HOT 1
- フォーム要素の見直し
- Replace node-sass to Dart Sass
- Remove font
- .c-select--block のときにデザインが崩れる
- Drop IE11 support HOT 1
- Remove node-normalize-scss and install normalize.css
- When clicked on an anchor link in the same page, the fade-out loading screen appears and does not disappear.
- ページヘッダーが IE11 で崩れることがある
- Add equal division row component
- Support safe area to container
- Drop IE Support.
- Refactoring js
- The abstract drawer contains CSS that is not a mixin.
- Refactoring drawer / dropdown / navbar CSS
- Change _hover()
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 basis.