meteor 1.3的坑(ES2015 modules)

Files/directories whose names start with a dot, like.meteorand.git

packages/: Used for local packages

cordova-build-override/: Used foradvanced mobile build customizations

programs: For legacy reasons

已.开始的目录

packages目录

cordova-build-override目录

programs目录

这四个目录都将不会再被加载到app中,这里边的css,静态资源都需要自己移出来


全新的目录结构

imports/

startup/

client/

index.js# import client startup through a single index entry point

routes.js# set up all routes in the app

useraccounts-configuration.js# configure login templates

server/

fixtures.js# fill the DB with example data on startup

index.js# import server startup through a single index entry point

api/

lists/# a unit of domain logic

server/

publications.js# all list-related publications

publications.tests.js# tests for the list publications

lists.js# definition of the Lists collection

lists.tests.js# tests for the behavior of that collection

methods.js# methods related to lists

methods.tests.js# tests for those methods

ui/

components/# all reusable components in the application

# can be split by domain if there are many

layouts/# wrapper components for behaviour and visuals

pages/# entry points for rendering used by the router

client/

main.js# client entry point, imports all client code

server/

main.js# server entry point, imports all server code



error: Error: ENFILE: file table overflow, open 

check

launchctl limit maxfiles

fixed

sudo launchctl limit maxfiles 524288 524288


build 到 signer到run

meteor build ~/build --server http://192.168.3.63:3000

jarsigner -verbose -keystore newcaoliao.keystore -sigalg SHA1withRSA -digestalg SHA1 release-unsigned.apk caoliao

env ROOT_URL=http://192.168.3.63:3000 meteor run --port 3000--mobile-server http://192.168.3.63:3000

你可能感兴趣的:(meteor 1.3的坑(ES2015 modules))