Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README generated by plugin generator for CanJS 3.0 #222

Closed
phillipskevin opened this issue Mar 29, 2017 · 2 comments
Closed

Update README generated by plugin generator for CanJS 3.0 #222

phillipskevin opened this issue Mar 29, 2017 · 2 comments

Comments

@phillipskevin
Copy link
Contributor

The AMD Use section shows how to set up Can 2.3 and jQuery:

<script src="require.js"></script>
<script>
	require.config({
	    paths: {
	        "jquery": "node_modules/jquery/dist/jquery",
	        "can": "node_modules/canjs/dist/amd/can"
	    },
	    packages: [{
		    	name: '<%= name %>',
		    	location: 'node_modules/<%= name %>/dist/amd',
		    	main: 'lib/<%= name %>'
	    }]
	});
	require(["main-amd"], function(){});
</script>

This should be updated for CanJS 3.0.

@matthewp
Copy link
Contributor

matthewp commented Apr 5, 2017

I think we should just remove that section, honestly, as setting up AMD with individual canjs packages is probably a huge pain.

@phillipskevin
Copy link
Contributor Author

Yeah, I agree. It's probably very uncommon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants