Skip to content
This repository has been archived by the owner on Apr 24, 2020. It is now read-only.

QUESTION: Marko path router + webpack #25

Open
Gioni06 opened this issue Sep 12, 2017 · 3 comments
Open

QUESTION: Marko path router + webpack #25

Gioni06 opened this issue Sep 12, 2017 · 3 comments

Comments

@Gioni06
Copy link

Gioni06 commented Sep 12, 2017

Could you please provide a very basic implementation for using marko path router with webpack ?
I can't make this work and the error messages are not very helpful. Thx

@ctdio
Copy link
Owner

ctdio commented Sep 12, 2017

Hello @Gioni06, thanks for opening this issue. To be honest I haven't tested this with webpack yet so I can't guarantee that it will work, however there's nothing about this module that ties it down to lasso. I'll see if I can make some tweaks to the demo and get it working with webpack soon.

@christopherjbaker
Copy link

I didn't have any issue making it work with webpack. Posting your "not very helpful" error messages would probably be helpful. I did have to modify my rules to make sure .marko and .css files would be loaded from all directories, not excluding node_modules as I had been doing before.

@ctdio
Copy link
Owner

ctdio commented Oct 13, 2017

Hey @Gioni06, sorry for the super long delay. I totally lost track of this issue. Not sure if it is worth much to you anymore, but I created a branch on the routing demo that uses webpack instead of lasso:
https://github.com/charlieduong94/marko-path-router-demo/tree/webpack

The commit showing the changes can be found here.

Again sorry for the delay.

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

No branches or pull requests

3 participants