This is a sample page for neal-react, reactjs components for building landing pages.
This project is a port of neal-sample to meteor 1.3
and meteor-webpack.
- Meteor 1.3
- meteor-webpack
- React 15
- neal-react - Startup Landing Page Components for React
- Bootstrap 4
- Font Awesome
- react-helmet - A document head manager for React
- react-mounter - A simple way to mount React components
- react-router
- react-router-hash-scroll - A
#hash
link animate scroll navigation
- Back to
React 0.14.x
$ npm remove react react-dom
$ npm install react react-dom --save
- Back to builtin meteor
jQuery 1.11.2
$ npm remove jquery --save
$ rm -fr packages/meteor-jquery--module
$ meteor
- Reinstall previously removed
jQuery 2.x.x
git clone https://github.com/bySabi/neal-sample-meteor.git
cd neal-sample-meteor
meteor
npm install
meteor
You can use meteor run, meteor build, mup or anything working with Meteor.
meteor run --production
meteor build .
mup deploy
You need to do those 3 steps to make it works with iOS or Android:
-
Add the platform to your Meteor project
meteor add-platform ios meteor add-platform android
-
Allow access to your dev server in your
/mobile-config.js
file:App.accessRule('http://192.168.1.100:3500/*');
-
Replace localhost by your local ip address in
webpack.json
.
If you have the libsass
binding Error #17
OSX
- Install nvm
- install node 0.10 with
nvm
cd neal-sample-meteor
nvm install 0.10
- check installed node versions
nvm ls
- rebuild
node-sass
with same meteor node binary,0.10
nvm use 0.10
npm rebuild node-sass
- back to 'system',
node 5.x
andnpm 3.x
nvm use system
MIT