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

Vue-material + Laravel gulpfile #17

Closed
dobbbri opened this issue Oct 21, 2016 · 4 comments
Closed

Vue-material + Laravel gulpfile #17

dobbbri opened this issue Oct 21, 2016 · 4 comments
Labels

Comments

@dobbbri
Copy link

dobbbri commented Oct 21, 2016

I saw that u use laravel, and I wonder compile the components using gulpfile is possible ??
I would love to use the vue material into a new project I'm implementing.

@marcosmoura
Copy link
Member

Well. You can use gulp with Vue Material. It's totally fine and easy. You can use the standalone build and include the vue-material.js in your HTML or use some other tools like babel or browserify to import the library directly inside your js code. This second option is the best because you can have more control of your dependencies.
If you want to build new components, contribute or change something in a fork you still can use gulp, but you have to setup webpack as well. This project need some loaders that only webpack can achieve without change the source code.

What is your environment? Are you using Laravel Elixir to compile the assets?

@marcosmoura marcosmoura modified the milestone: v0.1.3 Oct 21, 2016
@dobbbri
Copy link
Author

dobbbri commented Oct 21, 2016

I use macOS Sierra with, Laravel 5.3 and to compile the assets I use Elixir in my gulpfile.

@dobbbri dobbbri changed the title Vue materia + Laravel gulpfile Vue-material + Laravel gulpfile Oct 22, 2016
@echr
Copy link

echr commented Oct 24, 2016

@sldobri just follow the instruction at Getting Started , simply npm install all required dependency...
if you having trouble with the import 'vue-material/dist/vue-material.css' or want to combine the vue-material.css with your own css, you can edit your gulp file in elixir function and add mix.copy('node_modules/vue-material/dist/vue-material.css', 'resources/assets/sass/material.scss');

@dobbbri dobbbri closed this as completed Oct 24, 2016
@iraklisg
Copy link

following @echr advice, I still get the following error when runing gulp

Error: ./~/vue-material/dist/vue-material.js│Module build failed: SyntaxError: 'with' in strict mode (8:13503)

marcosmoura added a commit that referenced this issue Nov 14, 2017
* comp(MdTabs): start creation of tabs

* feat(MdTabs): add activetab prop to md-tabs

* chore(MdTabs): reinstall libs

* feat(MdTabs): make tabs work with Vue Router

* feat(MdTabs): add support for transparent tab navigation

* feat(MdTabs): add support for tabs with inner content

* perf(MdTabs): improve tabs initial time to be ready

* perf(MdTabs): add rAF to improve resize check

* chore(MdTabs): upgrade CI versions

* feat(MdTabs): elevation option for md-tabs

* feat(MdTabs): alignment options: left, right, centered and fixed

* feat(MdTabs): make tabs work with toolbars

* feat(MdTabs): support to icons

* feat(MdTabs): disabled tabs

* feat(MdTabs): support for custom templates

* feat(MdTabs): add events to md-tab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants